TypeDelegator.IsDefined(Type, Boolean) Método

Definição

Indica se um atributo personalizado identificado por attributeType está definido.

public:
 override bool IsDefined(Type ^ attributeType, bool inherit);
public override bool IsDefined(Type attributeType, bool inherit);
override this.IsDefined : Type * bool -> bool
Public Overrides Function IsDefined (attributeType As Type, inherit As Boolean) As Boolean

Parâmetros

attributeType
Type

Especifica se deve pesquisar na cadeia de herança deste tipo para encontrar os atributos.

inherit
Boolean

Um conjunto de atributos personalizados identificados por tipo.

Devoluções

true se um atributo personalizado identificado por attributeType for definido; caso contrário, false.

Exceções

attributeType é null.

O tipo de atributo personalizado não pode ser carregado.

Aplica-se a