语言

ControlIDConverter.GetStandardValuesExclusive(ITypeDescriptorContext) 方法

定义

返回一个值,该值指示 GetStandardValues(ITypeDescriptorContext) 方法返回的标准值集合是否是使用指定上下文的可能值的独占列表。

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 在所有情况下。

注解

如此类中实现的,此方法始终返回 false。

继承者说明

如果要转换的类型支持标准值,请重写此方法。

使用 context 参数提取有关从中调用此转换器的环境的其他信息。 此参数可以是 null,上下文对象的属性可以返回 null。

适用于

另请参阅