Share via


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

適用於