MemberInfo.ICustomAttributeProvider.IsDefined(Type, Boolean) Método
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
- attributeType
- Type
Tipo de los atributos personalizados.
- inherit
- Boolean
Cuando true
, buscar la cadena de jerarquía para el atributo personalizado heredado.
true
si attributeType
se define en este miembro; de lo contrario, false
.
Produto | Versións |
---|---|
.NET | Core 1.0, Core 1.1 |
.NET Standard | 1.5, 1.6 |
Comentarios de .NET
.NET é un proxecto de código aberto. Selecciona unha ligazón para ofrecer comentarios: