DataSourceIDConverter.GetStandardValuesExclusive 方法

定义

获取一个值,该值指示返回的数据源名称是否为可能值的独占列表。

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

参数

context
ITypeDescriptorContext

实现该 ITypeDescriptorContext 对象,该对象提供有关类型转换器上下文的信息,以便类型转换器可以执行转换。

返回

始终为 false

注解

如果从 DataSourceIDConverter 类派生类并重写 GetStandardValues 方法以返回数据源名称的独占列表,则还重写 GetStandardValuesExclusive 在数据源名称列表为独占时要返回 true 的方法。

参数 context 不由 GetStandardValuesExclusive.

适用于

另请参阅