Module.ICustomAttributeProvider.IsDefined(Type, Boolean) Método

Definición

Indica si se define una o varias instancias de attributeType en este miembro.

 virtual bool System.Reflection.ICustomAttributeProvider.IsDefined(Type ^ attributeType, bool inherit) = System::Reflection::ICustomAttributeProvider::IsDefined;
bool ICustomAttributeProvider.IsDefined(Type attributeType, bool inherit);
abstract member System.Reflection.ICustomAttributeProvider.IsDefined : Type * bool -> bool
override this.System.Reflection.ICustomAttributeProvider.IsDefined : Type * bool -> bool
Function IsDefined (attributeType As Type, inherit As Boolean) As Boolean Implements ICustomAttributeProvider.IsDefined

Parámetros

attributeType
Type

Tipo de los atributos personalizados.

inherit
Boolean

Cuando true, busque la cadena de jerarquía para el atributo personalizado heredado.

Devoluciones

true attributeType es si se define en este miembro; false de lo contrario, .

Implementaciones

Se aplica a