Assembly.ICustomAttributeProvider.GetCustomAttributes Método

Definição

Sobrecargas

Nome Description
ICustomAttributeProvider.GetCustomAttributes(Type, Boolean)

Retorna uma matriz de atributos personalizados definidos neste membro, identificados por tipo ou uma matriz vazia se não houver atributos personalizados desse tipo.

ICustomAttributeProvider.GetCustomAttributes(Boolean)

Retorna uma matriz de todos os atributos personalizados definidos neste membro, excluindo atributos nomeados ou uma matriz vazia se não houver atributos personalizados.

ICustomAttributeProvider.GetCustomAttributes(Type, Boolean)

Retorna uma matriz de atributos personalizados definidos neste membro, identificados por tipo ou uma matriz vazia se não houver atributos personalizados desse tipo.

 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

Parâmetros

attributeType
Type

O tipo dos atributos personalizados.

inherit
Boolean

Quando truepesquisar a cadeia de hierarquias para o atributo personalizado herdado.

Retornos

Object[]

Uma matriz de objetos que representam atributos personalizados ou uma matriz vazia.

Implementações

Aplica-se a

ICustomAttributeProvider.GetCustomAttributes(Boolean)

Retorna uma matriz de todos os atributos personalizados definidos neste membro, excluindo atributos nomeados ou uma matriz vazia se não houver atributos personalizados.

 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

Parâmetros

inherit
Boolean

Quando truepesquisar a cadeia de hierarquias para o atributo personalizado herdado.

Retornos

Object[]

Uma matriz de objetos que representam atributos personalizados ou uma matriz vazia.

Implementações

Aplica-se a