AsyncPostBackTriggerEventNameConverter.GetStandardValuesExclusive(ITypeDescriptorContext) 方法

定义

返回一个值,该值指示从 GetStandardValues(ITypeDescriptorContext) 返回的标准值集合对于指定的上下文而言是否是排他的可能值列表。Returns a value that indicates whether the collection of standard values that is returned from GetStandardValues(ITypeDescriptorContext) is an exclusive list of possible values for the specified context.

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

格式上下文。The format context.

返回

如果从 true 返回的 TypeConverter.StandardValuesCollection 是可能值的穷举列表,则为 GetStandardValues(ITypeDescriptorContext);如果还可能有其他值,则为 falsetrue if the TypeConverter.StandardValuesCollection returned from GetStandardValues(ITypeDescriptorContext) is an exhaustive list of possible values; false if other values are possible. 默认实现返回 falseThe default implementation returns false.

适用于