編輯

共用方式為


DataSourceIDConverter.GetStandardValuesExclusive Method

Definition

Gets a value indicating whether the returned data source names are an exclusive list of possible values.

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

An object implementing the ITypeDescriptorContext that provides information about a context to a type converter so that the type converter can perform a conversion.

Returns

Always false.

Remarks

If you derive a class from the DataSourceIDConverter class and override the GetStandardValues method to return an exclusive list of data source names, also override the GetStandardValuesExclusive method to return true when the data source name list is exclusive.

The context parameter is not used by the GetStandardValuesExclusive.

Applies to

See also