ActivityBindTypeConverter.GetStandardValuesExclusive 方法

定义

返回从 GetStandardValues 返回的标准值的集合是否是使用指定上下文的可能值的独占列表。

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 格式上下文的上下文。

返回

true TypeConverter.StandardValuesCollection如果从中返回GetStandardValues的值是可能值的详尽列表,则为可能的值;false如果可能,则返回这些值。

注解

如果列表是独占的,例如在枚举数据类型中,则没有其他值有效。 如果列表不是独占的,则除了该方法提供的标准值列表外,还可能存在其他有效值 GetStandardValues 。 如果这些值是独占的,则返回 GetStandardValues 的列表不应允许编辑这些值。

适用于