DataColumnSelectionConverter.GetStandardValuesExclusive(ITypeDescriptorContext) 方法

定义

指示此转换器是否返回一个列表,在其中包含可分配给关联的控件属性的所有可能值。Indicates whether this converter returns a list containing all possible values that can be assigned to the associated control property.

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 实现。An ITypeDescriptorContext implementation that can be used to gain additional context information.

返回

如果此转换器返回一个列表,在其中包含可分配给关联的控件属性的所有可能值,则返回 true;否则返回 falsetrue if this converter returns a list containing all possible values that can be assigned to the associated control property; otherwise false.

注解

DataColumnSelectionConverter 实例的 GetStandardValuesExclusive 方法返回 false,这表示 GetStandardValues 方法返回的列表不是所有可能可赋值值的独占列表。The GetStandardValuesExclusive method for a DataColumnSelectionConverter instance returns false, indicating that the list returned by the GetStandardValues method is not an exclusive list of all possible assignable values.

适用于

另请参阅