SizeConverter.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

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

返回

Boolean

如果应调用 GetProperties(ITypeDescriptorContext, Object, Attribute[]) 来查找此对象的属性,则为 true

适用于