按照
http://msdn.microsoft.com/zh-cn/library/xfhwa508.aspx?cs-save-lang=1&cs-lang=cpp#code-snippet-3 后面的例子,写的代码,
但是visual studio 提示我:Error: namespace "System::Collections::Generic" has no member "Dictionary",
我只在System::Collections::Generic命名空间下找到:LinkedList, Queue, SortedDictionary, Stack 这几个类, 没有Dictionary类,
或者有哪个类能代替Dictionary类? SortedDictionary是经过排序的吧? 我不需要排序的, 该用哪个?
我的项目是xaml/c++的,不是c#的, 代码如下:
test::test()
{
System::Collections::Generic::Dictionary<String^, String^>^ openWith =
gcnew System::Collections::Generic::Dictionary<String^, String^>();
}