FieldBuilder.GetCustomAttributes メソッド

定義

このフィールドに対して定義されているカスタム属性を返します。

オーバーロード

GetCustomAttributes(Boolean)

このフィールドに対して定義されているすべてのカスタム属性を返します。

GetCustomAttributes(Type, Boolean)

指定された型によって識別されるこのフィールドに定義されたすべてのカスタム属性を返します。

GetCustomAttributes(Boolean)

ソース:
FieldBuilder.cs

このフィールドに対して定義されているすべてのカスタム属性を返します。

public:
 override cli::array <System::Object ^> ^ GetCustomAttributes(bool inherit);
public override object[] GetCustomAttributes (bool inherit);
override this.GetCustomAttributes : bool -> obj[]
Public Overrides Function GetCustomAttributes (inherit As Boolean) As Object()

パラメーター

inherit
Boolean

基底クラスからのカスタム属性の継承を制御します。

戻り値

Object[]

この Object インスタンスで表されるコンストラクターのすべてのカスタム属性を表す FieldBuilder 型の配列。

例外

このメソッドはサポートされていません。

適用対象

GetCustomAttributes(Type, Boolean)

ソース:
FieldBuilder.cs

指定された型によって識別されるこのフィールドに定義されたすべてのカスタム属性を返します。

public:
 override cli::array <System::Object ^> ^ GetCustomAttributes(Type ^ attributeType, bool inherit);
public override object[] GetCustomAttributes (Type attributeType, bool inherit);
override this.GetCustomAttributes : Type * bool -> obj[]
Public Overrides Function GetCustomAttributes (attributeType As Type, inherit As Boolean) As Object()

パラメーター

attributeType
Type

カスタム属性の型。

inherit
Boolean

基底クラスからのカスタム属性の継承を制御します。

戻り値

Object[]

この Object インスタンスで表されるコンストラクターのすべてのカスタム属性を表す FieldBuilder 型の配列。

例外

このメソッドはサポートされていません。

適用対象