Share via


SelectionRangeConverter.GetPropertiesSupported(ITypeDescriptorContext) 方法

定義

判斷目前的物件是否支援屬性,以便使用指定的型別描述項內容。

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 以尋找 SelectionRange 物件的屬性,則為 true,否則為 false

備註

預設的實作 (Implementation) 一定會傳回 true

適用於

另請參閱