Assembly.ICustomAttributeProvider.IsDefined(Type, Boolean) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Indica se uma ou mais instâncias de attributeType estão definidas neste 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
Parâmetros
- attributeType
- Type
O tipo dos atributos personalizados.
- inherit
- Boolean
Quando true, procure a cadeia hierárquica do atributo personalizado herdado.
Devoluções
true se o attributeType estiver definido neste membro; false caso contrário.