語言

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 方式可以提供更多背景。

傳回

若true應呼叫該物件的性質,此方法回傳GetProperties(ITypeDescriptorContext, Object, Attribute[]);否則,。 false

適用於