ModuleBuilder.GetCustomAttributes Método

Definición

Devuelve los atributos personalizados que se aplican al objeto actual ModuleBuilder.

Sobrecargas

Nombre Description
GetCustomAttributes(Boolean)

Devuelve todos los atributos personalizados que se han aplicado al objeto actual ModuleBuilder.

GetCustomAttributes(Type, Boolean)

Devuelve todos los atributos personalizados que se han aplicado al objeto actual ModuleBuildery que derivan de un tipo de atributo especificado.

GetCustomAttributes(Boolean)

Devuelve todos los atributos personalizados que se han aplicado al objeto actual ModuleBuilder.

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

Parámetros

inherit
Boolean

Este argumento se omite para los objetos de este tipo.

Devoluciones

Object[]

Matriz que contiene los atributos personalizados; la matriz está vacía si no hay ningún atributo.

Se aplica a

GetCustomAttributes(Type, Boolean)

Devuelve todos los atributos personalizados que se han aplicado al objeto actual ModuleBuildery que derivan de un tipo de atributo especificado.

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

Parámetros

attributeType
Type

Tipo base del que derivan los atributos.

inherit
Boolean

Este argumento se omite para los objetos de este tipo.

Devoluciones

Object[]

Matriz que contiene los atributos personalizados que se derivan, en cualquier nivel, de attributeType; la matriz está vacía si no hay dichos atributos.

Excepciones

attributeType es null.

attributeType no es un Type objeto proporcionado por el tiempo de ejecución. Por ejemplo, attributeType es un TypeBuilder objeto .

Se aplica a