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!

TypeConverter.GetCreateInstanceSupported (ITypeDescriptorContext)

Gets a value indicating whether changing a value on this object should require a call to CreateInstance to create a new value.

[Visual Basic]
Overloads Overridable Public Function GetCreateInstanceSupported( _
   ByVal context As ITypeDescriptorContext _
) As Boolean
[C#]
public virtual bool GetCreateInstanceSupported(
   ITypeDescriptorContext context
);
[C++]
public: virtual bool GetCreateInstanceSupported(
   ITypeDescriptorContext* context
);
[JScript]
public function GetCreateInstanceSupported(
   context : ITypeDescriptorContext
) : Boolean;

Parameters

context
An ITypeDescriptorContext that represents a context for the formatter.

Return Value

true if CreateInstance should be called when a change is made to one or more properties of this object.

Remarks

The context can be used to extract additional information about the environment this converter is being invoked from. This may be a null reference (in Visual Basic Nothing), so you should always check. Also, properties on the context object may also return a null reference (Nothing).

See Also

TypeConverter Class | TypeConverter Members | System.ComponentModel Namespace | TypeConverter.GetCreateInstanceSupported Overload List | ITypeDescriptorContext