LinkArea.LinkAreaConverter.GetProperties 方法

定義

擷取這個型別的屬性集。

public:
 override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ value, cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext context, object value, Attribute[] attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext? context, object value, Attribute[]? attributes);
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (context As ITypeDescriptorContext, value As Object, attributes As Attribute()) As PropertyDescriptorCollection

參數

context
ITypeDescriptorContext

可以用來提供額外內容的型別描述項。

value
Object

要為其取得屬性的物件的值。

attributes
Attribute[]

要為其取得屬性的物件之屬性。

傳回

PropertyDescriptorCollection

應該公開給這個資料型別的屬性集。 如果沒有應該公開的任何屬性,則可能會傳回 null。 預設的實作 (Implementation) 一定會傳回 null

備註

根據預設值,型別不傳回任何屬性。 這個方法的簡單實作可以直接呼叫 GetProperties 正確的資料類型。

適用於