FieldBuilder.GetCustomAttributes Metoda

Definice

Vrátí vlastní atributy definované pro toto pole.

Přetížení

GetCustomAttributes(Boolean)

Vrátí všechny vlastní atributy definované pro toto pole.

GetCustomAttributes(Type, Boolean)

Vrátí všechny vlastní atributy definované pro toto pole identifikované daným typem.

GetCustomAttributes(Boolean)

Zdroj:
FieldBuilder.cs

Vrátí všechny vlastní atributy definované pro toto pole.

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()

Parametry

inherit
Boolean

Řídí dědičnost vlastních atributů ze základních tříd.

Návraty

Object[]

Pole typu Object představující všechny vlastní atributy konstruktoru reprezentované touto FieldBuilder instancí.

Výjimky

Tato metoda není podporována.

Platí pro

GetCustomAttributes(Type, Boolean)

Zdroj:
FieldBuilder.cs

Vrátí všechny vlastní atributy definované pro toto pole identifikované daným typem.

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()

Parametry

attributeType
Type

Typ vlastního atributu.

inherit
Boolean

Řídí dědičnost vlastních atributů ze základních tříd.

Návraty

Object[]

Pole typu Object představující všechny vlastní atributy konstruktoru reprezentované touto FieldBuilder instancí.

Výjimky

Tato metoda není podporována.

Platí pro