JSMethod.IsDefined(Type, Boolean) Metódus

Definíció

Meghatározza, hogy a megadott attribútumtípus csatlakoztatva van-e ehhez a metódushoz.

Ez az API a termékinfrastruktúrát támogatja, és közvetlenül a kódból nem használható.

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

Paraméterek

type
Type

A keresendő attribútumtípus.

inherit
Boolean

true a tag öröklési hierarchiájában való kereséshez keresse meg az attribútumokat.

Válaszok

false minden esetben.

A következőre érvényes:

Lásd még