 | ContainerHelperNewDictionary Method (Type, Type, Object) |
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.libGr
Assembly:
libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntaxpublic static IDictionary NewDictionary(
Type keyType,
Type valueType,
Object oldDictionary
)
Parameters
- keyType
- Type: SystemType
The key type of the dictionary to be created - valueType
- Type: SystemType
The value type of the dictionary to be created - oldDictionary
- Type: SystemObject
The old dictionary to be cloned
Return Value
Type:
IDictionaryThe newly created dictionary, containing the content of the old dictionary,
null if unsuccessfull
See Also