PropertyMetadata.GetAttributes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得包含所有屬性的陣列。
多載
| 名稱 | Description |
|---|---|
| GetAttributes() |
取得包含所有屬性的陣列。 |
| GetAttributes(Type) |
接收一個型態 Attribute 為 的陣列,包含型別等於 |
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()
參數
傳回
一個型別 Attribute 為 的陣列,包含這些屬性,且型別 attributeType為 。