PropertyMetadata.GetAttributes 方法

定義

取得包含所有屬性的陣列。

多載

名稱 Description
GetAttributes()

取得包含所有屬性的陣列。

GetAttributes(Type)

接收一個型態 Attribute 為 的陣列,包含型別等於 attributeType的屬性。

GetAttributes()

取得包含所有屬性的陣列。

public:
 cli::array <Attribute ^> ^ GetAttributes();
public Attribute[] GetAttributes();
member this.GetAttributes : unit -> Attribute[]
Public Function GetAttributes () As Attribute()

傳回

一個包含所有屬性的陣列。

適用於

GetAttributes(Type)

接收一個型態 Attribute 為 的陣列,包含型別等於 attributeType的屬性。

public:
 cli::array <Attribute ^> ^ GetAttributes(Type ^ attributeType);
public Attribute[] GetAttributes(Type attributeType);
member this.GetAttributes : Type -> Attribute[]
Public Function GetAttributes (attributeType As Type) As Attribute()

參數

attributeType
Type

Type這些屬性要回傳。

傳回

一個型別 Attribute 為 的陣列,包含這些屬性,且型別 attributeType為 。

適用於