JSConstructor.IsDefined(Type, Boolean) Metoda

Definice

Určuje, zda zadaný typ atributu je připojen k tomuto konstruktoru.

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

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

Parametry

type
Type

Typ atributu, který chcete vyhledat.

inherit
Boolean

true prohledat hierarchii dědičnosti tohoto člena a najít atributy.

Návraty

Hodnota false ve všech případech

Platí pro

Viz také