NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ListBindingConverter.CreateInstance (ITypeDescriptorContext, IDictionary)

Creates an instance of this type given a set of property values for the object. This is useful for objects that are immutable, but still want to provide changable properties.

[Visual Basic]
Overloads Overrides Public Function CreateInstance( _
   ByVal context As ITypeDescriptorContext, _
   ByVal propertyValues As IDictionary _
) As Object
[C#]
public override object CreateInstance(
   ITypeDescriptorContext context,
   IDictionary propertyValues
);
[C++]
public: override Object* CreateInstance(
   ITypeDescriptorContext* context,
   IDictionary* propertyValues
);
[JScript]
public override function CreateInstance(
   context : ITypeDescriptorContext,
   propertyValues : IDictionary
) : Object;

Parameters

context
A type descriptor through which additional context may be provided.
propertyValues
A dictionary of new property values. The dictionary contains a series of name-value pairs, one for each property returned from GetProperties.

Return Value

The newly created object, or null if the object could not be created. The default implementation returns null.

See Also

ListBindingConverter Class | ListBindingConverter Members | System.WinForms Namespace | ListBindingConverter.CreateInstance Overload List