RectangleConverter.GetPropertiesSupported(ITypeDescriptorContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷該物件是否支援屬性。 根據預設,這會是 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