指定された型によって識別されるカスタム属性を返します。
Overrides Overloads Public Function GetCustomAttributes( _
ByVal attributeType As Type, _ ByVal inherit As Boolean _) As Object() Implements ICustomAttributeProvider.GetCustomAttributes
[C#]
public override object[] GetCustomAttributes(TypeattributeType,boolinherit);
[C++]
public: Object* GetCustomAttributes(Type* attributeType,boolinherit) __gc[];
[JScript]
public override function GetCustomAttributes(
attributeType : Type,inherit : Boolean) : Object[];
パラメータ
- attributeType
カスタム属性の型。 - inherit
基本クラスからのカスタム属性の継承を制御します。このパラメータは無視されます。
戻り値
このコンストラクタの属性を表す Object 型の配列を返します。
実装
ICustomAttributeProvider.GetCustomAttributes
解説
コンストラクタは基本クラスから継承されないため、 inherit パラメータは無視されます。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
ConstructorBuilder クラス | ConstructorBuilder メンバ | System.Reflection.Emit 名前空間 | ConstructorBuilder.GetCustomAttributes オーバーロードの一覧