Module.ICustomAttributeProvider.GetCustomAttributes Metoda

Definice

Přetížení

ICustomAttributeProvider.GetCustomAttributes(Boolean)

Vrátí pole všech vlastních atributů definovaných u tohoto člena, s výjimkou pojmenovaných atributů nebo prázdného pole, pokud nejsou k dispozici žádné vlastní atributy.

ICustomAttributeProvider.GetCustomAttributes(Type, Boolean)

Vrátí pole vlastních atributů definovaného pro tento člen, identifikovaných podle typu nebo prázdné pole, pokud nejsou k dispozici žádné vlastní atributy daného typu.

ICustomAttributeProvider.GetCustomAttributes(Boolean)

Vrátí pole všech vlastních atributů definovaných u tohoto člena, s výjimkou pojmenovaných atributů nebo prázdného pole, pokud nejsou k dispozici žádné vlastní atributy.

 virtual cli::array <System::Object ^> ^ System.Reflection.ICustomAttributeProvider.GetCustomAttributes(bool inherit) = System::Reflection::ICustomAttributeProvider::GetCustomAttributes;
object[] ICustomAttributeProvider.GetCustomAttributes (bool inherit);
abstract member System.Reflection.ICustomAttributeProvider.GetCustomAttributes : bool -> obj[]
override this.System.Reflection.ICustomAttributeProvider.GetCustomAttributes : bool -> obj[]
Function GetCustomAttributes (inherit As Boolean) As Object() Implements ICustomAttributeProvider.GetCustomAttributes

Parametry

inherit
Boolean

Při true hledání vyhledejte řetězec hierarchie pro zděděný vlastní atribut.

Návraty

Object[]

Pole objektů představujících vlastní atributy nebo prázdné pole.

Implementuje

Platí pro

ICustomAttributeProvider.GetCustomAttributes(Type, Boolean)

Vrátí pole vlastních atributů definovaného pro tento člen, identifikovaných podle typu nebo prázdné pole, pokud nejsou k dispozici žádné vlastní atributy daného typu.

 virtual cli::array <System::Object ^> ^ System.Reflection.ICustomAttributeProvider.GetCustomAttributes(Type ^ attributeType, bool inherit) = System::Reflection::ICustomAttributeProvider::GetCustomAttributes;
object[] ICustomAttributeProvider.GetCustomAttributes (Type attributeType, bool inherit);
abstract member System.Reflection.ICustomAttributeProvider.GetCustomAttributes : Type * bool -> obj[]
override this.System.Reflection.ICustomAttributeProvider.GetCustomAttributes : Type * bool -> obj[]
Function GetCustomAttributes (attributeType As Type, inherit As Boolean) As Object() Implements ICustomAttributeProvider.GetCustomAttributes

Parametry

attributeType
Type

Typ vlastních atributů.

inherit
Boolean

Při true hledání vyhledejte řetězec hierarchie pro zděděný vlastní atribut.

Návraty

Object[]

Pole objektů představujících vlastní atributy nebo prázdné pole.

Implementuje

Platí pro