語言

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

提供格式上下文的A ITypeDescriptorContext 。

傳回

true 若 GetProperties 可以被調用來求得物件 SelectionRange 的性質;否則, false。

備註

預設實作一律會傳 true回 。

適用於

另請參閱