ActivityBindTypeConverter.GetStandardValuesSupported 方法

定义

使用指定的上下文返回此对象是否支持可以从列表中选取的标准值集。

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

提供格式上下文的 ITypeDescriptorContext

返回

Boolean

如果应调用 true 来查找对象支持的一组公共值,则为 GetStandardValues;否则为 false

注解

使用 context 参数提取有关调用此转换器的环境的附加信息。 此参数可能为空引用(在 Visual Basic 中为 Nothing),因此总是需要检查。 同样,上下文对象的属性也可能返回空引用 (Nothing)。

适用于