MemberDescriptor.Attributes プロパティ

定義

メンバーの属性のコレクションを取得します。

public:
 virtual property System::ComponentModel::AttributeCollection ^ Attributes { System::ComponentModel::AttributeCollection ^ get(); };
public virtual System.ComponentModel.AttributeCollection Attributes { get; }
member this.Attributes : System.ComponentModel.AttributeCollection
Public Overridable ReadOnly Property Attributes As AttributeCollection

プロパティ値

このメンバーに属性を提供する AttributeCollectionAttributeArray 内に属性がない場合は、空のコレクション。

注釈

このメンバーが存在しないAttributeCollection場合、このプロパティは メソッドをCreateAttributeCollection呼び出して、コンストラクターに渡されるオブジェクトのAttribute配列を使用して新しい AttributeCollection を作成します。

適用対象

こちらもご覧ください