Click or drag to resize

TypeConverterCreate Method

Overload List
  NameDescription
Public methodCreateT(IDictionaryString, Object, CultureInfo)
Creates a new instance of the given type by mapping the key value pairs of the given dictionary to constructor parameters, public properties and public fields of the given type. Throws an InstantiationException if creation failed. For success, at least on key value pair must be used as a constructor parameter, public property or public field. If the dictionary contains only one key value pair, its value is returned if it is exactly of the demanded type.
Public methodCreate(Type, IDictionaryString, Object, CultureInfo)
Creates a new instance of the given type by mapping the key value pairs of the given dictionary to constructor parameters, public properties and public fields of the given type. Throws an InstantiationException if creation failed. For success, at least on key value pair must be used as a constructor parameter, public property or public field. If the dictionary contains only one key value pair, its value is returned if it is exactly of the demanded type.
Top
See Also