TypeDelegator.IsDefined(Type, Boolean) Método

Definición

Indica si se define un atributo personalizado identificado por attributeType .

public:
 override bool IsDefined(Type ^ attributeType, bool inherit);
public override bool IsDefined(Type attributeType, bool inherit);
override this.IsDefined : Type * bool -> bool
Public Overrides Function IsDefined (attributeType As Type, inherit As Boolean) As Boolean

Parámetros

attributeType
Type

Especifica si se va a buscar en la cadena de herencia de este tipo para buscar los atributos.

inherit
Boolean

Matriz de atributos personalizados identificados por tipo.

Devoluciones

true es si se define un atributo personalizado identificado por attributeType ; de lo contrario, falsees .

Excepciones

attributeType es null.

No se puede cargar el tipo de atributo personalizado.

Se aplica a