この型に対して定義されているすべてのカスタム属性を返します。
Overrides Overloads Public Function GetCustomAttributes( _
ByVal inherit As Boolean _) As Object() Implements ICustomAttributeProvider.GetCustomAttributes
[C#]
public override object[] GetCustomAttributes(boolinherit);
[C++]
public: Object* GetCustomAttributes(boolinherit) __gc[];
[JScript]
public override function GetCustomAttributes(
inherit : Boolean) : Object[];
パラメータ
- inherit
基本クラスからのカスタム属性の継承を制御します。このパラメータは無視されます。
戻り値
この ConstructorBuilder インスタンスで表されるコンストラクタのすべてのカスタム属性を表すオブジェクトの配列を返します。
実装
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 オーバーロードの一覧