PropertyMetadata.GetAttributes メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
すべての属性を含む配列を取得します。
オーバーロード
| 名前 | 説明 |
|---|---|
| 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型の配列。