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.GetPropertiesSupported (ITypeDescriptorContext)

Gets a value indicating whether this object supports properties. By default, this is false.

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

Parameters

context
An ITypeDescriptorContext that represents a context for the formatter.

Return Value

Returns true if GetProperties should be called to find the 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.GetPropertiesSupported Overload List | ITypeDescriptorContext