Dictionary(Of String, ??)
鉴于下面的代码,我正在尝试基于ItemType
我拥有的变量创建一个新的实例。我如何构造DictType
以便我可以Activator
用来创建我所追求的类型的实例?
Dim ItemType As Type ' Data type of dictionary value
Dim DictType As Type = ???? ' Dictionary(of String, ItemType)
Dim NewDict = Activator.CreateInstance(DictType)