FontConverter.GetPropertiesSupported(ITypeDescriptorContext) 方法

定义

确定此对象是否支持属性。Determines whether this object supports properties. 默认值为 falseThe default is false.

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 type descriptor through which additional context can be provided.

返回

Boolean

如果应调用 GetPropertiesSupported(ITypeDescriptorContext) 方法来查找此对象的属性,则此方法返回 true;否则返回 falseThis method returns true if the GetPropertiesSupported(ITypeDescriptorContext) method should be called to find the properties of this object; otherwise, false.

适用于