RectangleConverter.GetPropertiesSupported(ITypeDescriptorContext) 方法

定义

确定该对象是否支持属性。 默认情况下,该属性为 false

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

通过其可提供附加上下文的 ITypeDescriptorContext

返回

如果为了查找此对象的属性而应当调用 GetProperties(ITypeDescriptorContext, Object, Attribute[]),则此方法返回 true;否则,此方法返回 false

适用于