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;
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;
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).
TypeConverter Class | TypeConverter Members | System.ComponentModel Namespace | TypeConverter.GetStandardValuesExclusive Overload List | ITypeDescriptorContext