MemberInfo.ICustomAttributeProvider.IsDefined(Type, Boolean) Método
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Indica se uma ou mais instâncias de attributeType
estão definidas nesse membro.
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
O tipo dos atributos personalizados.
- inherit
- Boolean
Quando ele for true
, pesquise a cadeia de hierarquia do atributo personalizado herdado.
true
se o attributeType
está definido neste membro; caso contrário, false
.
Produto | Versões |
---|---|
.NET | Core 1.0, Core 1.1 |
.NET Standard | 1.5, 1.6 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: