SelectionRangeConverter.GetPropertiesSupported(ITypeDescriptorContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷目前物件是否支援使用指定類型描述符上下文的屬性。
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回 。