 | ContainerHelperNewDictionary(Type, Type, Object) Method |
Creates a new dictionary of the given key type and value type,
initialized with the content of the old dictionary (clones the old dictionary)
Namespace: de.unika.ipd.grGen.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntaxpublic static IDictionary NewDictionary(
Type keyType,
Type valueType,
Object oldDictionary
)
Parameters
- keyType Type
- The key type of the dictionary to be created
- valueType Type
- The value type of the dictionary to be created
- oldDictionary Object
- The old dictionary to be cloned
Return Value
IDictionaryThe newly created dictionary, containing the content of the old dictionary,
null if unsuccessfull
See Also