Edit

Bagikan melalui


ImageIndexConverter.GetStandardValuesExclusive(ITypeDescriptorContext) Method

Definition

Determines if the list of standard values returned from the GetStandardValues method is an exclusive list.

public:
 override bool GetStandardValuesExclusive(System::ComponentModel::ITypeDescriptorContext ^ context);
public override bool GetStandardValuesExclusive (System.ComponentModel.ITypeDescriptorContext context);
public override bool GetStandardValuesExclusive (System.ComponentModel.ITypeDescriptorContext? context);
override this.GetStandardValuesExclusive : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetStandardValuesExclusive (context As ITypeDescriptorContext) As Boolean

Parameters

context
ITypeDescriptorContext

A formatter context.

Returns

true if the GetStandardValues method returns an exclusive list of valid values; otherwise, false. This implementation always returns false.

Remarks

If the list returned by the GetStandardValues method is exclusive, then no other values are valid. This is typical of an enumerated data type. If the list is not exclusive, then there are other valid values besides the list of standard values that GetStandardValues provides.

As implemented in this type converter, this method always returns false.

Typically the GetStandardValuesSupported method is called to before an attempt is made to use the GetStandardValues and GetStandardValuesExclusive methods.

Applies to

See also