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

Gets a value indicating whether this object supports a standard set of values that can be picked from a list.

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

Parameters

context
An ITypeDescriptorContext that represents a context for the formatter.

Return Value

Returns true if GetStandardValues should be called to find a common set of values the object supports.

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.GetStandardValuesSupported Overload List | ITypeDescriptorContext