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

Definición

Indica si una o más instancias de attributeType se definen 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, buscar la cadena de jerarquía para el atributo personalizado heredado.

Devoluciones

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

Implementaciones

Se aplica a