DataFieldConverter.GetStandardValuesSupported(ITypeDescriptorContext) 方法

定义

获取一个值,该值指示转换器是否支持可从列表中选取的一组标准值。Gets a value indicating whether the converter supports a standard set of values that can be picked from a list.

public:
 override bool GetStandardValuesSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
public override bool GetStandardValuesSupported (System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValuesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetStandardValuesSupported (context As ITypeDescriptorContext) As Boolean

参数

context
ITypeDescriptorContext

可用于获取附加上下文信息的 ITypeDescriptorContextAn ITypeDescriptorContext that can be used to gain additional context information.

返回

Boolean

如果可以调用 GetStandardValues() 以查找该对象支持的一组公共值,则为 true;否则,为 falsetrue if GetStandardValues() can be called to find a common set of values the object supports; otherwise, false.

适用于