COMFieldInfo.IsDefined(Type, Boolean) Metódus

Definíció

Meghatározza, hogy a megadott attribútumtípus hozzá van-e kapcsolva ehhez a mezőhöz.

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 ^ t, bool inherit);
public override bool IsDefined(Type t, bool inherit);
override this.IsDefined : Type * bool -> bool
Public Overrides Function IsDefined (t As Type, inherit As Boolean) As Boolean

Paraméterek

t
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