JSField.IsDefined(Type, Boolean) Método
Definição
Determina se o tipo de atributo especificado está anexado a esse campo.Determines whether the specified attribute type is attached to this field.
Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.
public:
override bool IsDefined(Type ^ type, bool inherit);
public override bool IsDefined (Type type, bool inherit);
override this.IsDefined : Type * bool -> bool
Public Overrides Function IsDefined (type As Type, inherit As Boolean) As Boolean
Parâmetros
- type
- Type
O tipo de atributo a ser pesquisado.The attribute type to search for.
- inherit
- Boolean
true para pesquisar a hierarquia de herança deste membro para encontrar os atributos.true to search this member's inheritance hierarchy to find the attributes.
Retornos
false em todos os casos.false in all cases.