DataSourceViewSchemaConverter.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 实现。

返回

Boolean

如果此转换器返回一个列表,在其中包含可分配给关联的控件属性的所有可能值,则返回 true;否则返回 false

注解

GetStandardValuesExclusive返回的方法 DataSourceViewSchemaConverter false ,指示方法返回的列表 GetStandardValues 不是所有可能可赋值值的独占列表。

适用于

另请参阅