FieldBuilder.GetCustomAttributes メソッド

定義

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

オーバーロード

名前 説明
GetCustomAttributes(Boolean)

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

GetCustomAttributes(Type, Boolean)

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

GetCustomAttributes(Boolean)

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

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[]

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

例外

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

適用対象

GetCustomAttributes(Type, Boolean)

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

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[]

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

例外

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

適用対象