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!

KeysConverter.GetStandardValuesExclusive

Determines if 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]
Overrides Public Function GetStandardValuesExclusive( _
   ByVal context As ITypeDescriptorContext _
) As Boolean
[C#]
public override bool GetStandardValuesExclusive(
   ITypeDescriptorContext context
);
[C++]
public: override bool GetStandardValuesExclusive(
   ITypeDescriptorContext* context
);
[JScript]
public override function GetStandardValuesExclusive(
   context : ITypeDescriptorContext
) : Boolean;

Parameters

context
A formatter context. This object can be used to extract additional information about the environment this converter is being invoked from. This may be null, so you should always check. Also, properties on the context object may also return null.

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;

See Also

KeysConverter Class | KeysConverter Members | System.WinForms Namespace