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

Definição

Indica se uma ou mais instâncias são attributeType 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 truepesquisar a cadeia de hierarquias para o atributo personalizado herdado.

Retornos

true se o attributeType for definido neste membro; false caso contrário.

Implementações

Aplica-se a