編輯

共用方式為


DataProviderNameConverter.GetStandardValuesExclusive Method

Definition

Gets a value indicating whether the returned ActiveX® Data Objects (ADO) for the .NET Framework (ADO.NET) provider 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 DataProviderNameConverter class and override the GetStandardValues method to return an exclusive list of ADO.NET provider names, also override the GetStandardValuesExclusive method to return true when the provider name list is exclusive.

The context parameter is not used by the GetStandardValuesExclusive.

Applies to

See also