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

Gets a value indicating whether the list of standard values returned from GetStandardValues is an exclusive list. If the list is exclusive, then no other values are valid, such as in an enum data type. If the list is not exclusive, then there are other valid values besides the list of standard values GetStandardValues provides.

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

Parameters

context
An ITypeDescriptorContext that represents a context for the formatter.

Return Value

True if the collection returned from GetStandardValues is an exhaustive list of possible values, or false if other values are possible. The default for this method always returns false;

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