AssemblyBuilder.IsDefined(Type, Boolean) Método

Definição

Devolve um valor que indica se uma ou mais instâncias do tipo de atributo especificado são aplicadas a este membro.

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

O tipo de atributo a testar.

inherit
Boolean

Este argumento é ignorado para objetos deste tipo.

Devoluções

true se uma ou mais instâncias de attributeType for aplicada a esta montagem dinâmica; caso contrário, false.

Aplica-se a