SelectionRangeConverter.GetPropertiesSupported(ITypeDescriptorContext) 方法

定义

确定当前对象是否支持使用指定类型描述符上下文的属性。

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

参数

context
ITypeDescriptorContext

提供格式上下文的 A ITypeDescriptorContext

返回

如果 可以调用以查找对象的属性 ,则为 ;否则为 < a1/ >。

注解

默认实现始终返回 true

适用于

另请参阅