NullableConverter.CreateInstance Method (ITypeDescriptorContext, IDictionary)

This member overrides TypeConverter.CreateInstance(ITypeDescriptorContext, IDictionary), and more complete documentation might be available in that topic.

Creates an instance of the type that this TypeConverter is associated with, using the specified context, given a set of property values for the object.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

public override Object CreateInstance(
	ITypeDescriptorContext context,
	IDictionary propertyValues
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

propertyValues
Type: System.Collections.IDictionary

An IDictionary of new property values.

Return Value

Type: System.Object
An Object representing the given IDictionary, or null if the object cannot be created. This method always returns null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft