SizeConverter.GetPropertiesSupported(ITypeDescriptorContext) 方法

定義

判斷這個物件是否支援屬性。Determines whether this object supports properties. 根據預設,這是 falseBy default, this 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

TypeDescriptor,可透過它來提供其他內容。A TypeDescriptor through which additional context can be provided.

傳回

如果應該呼叫 true 方法來尋找這個物件的屬性,則為 GetProperties(ITypeDescriptorContext, Object, Attribute[])true if the GetProperties(ITypeDescriptorContext, Object, Attribute[]) method should be called to find the properties of this object.

適用於