ConstructorBuilder.IsDefined(Type, Boolean) Metódus

Definíció

Ellenőrzi, hogy a megadott egyéni attribútumtípus definiálva van-e.

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

Paraméterek

attributeType
Type

Egyéni attribútumtípus.

inherit
Boolean

Szabályozza az egyéni attribútumok öröklését az alaposztályokból. Ezt a paramétert a rendszer figyelmen kívül hagyja.

Válaszok

trueha a megadott egyéni attribútumtípus definiálva van; egyéb esetben. false

Kivételek

Megjegyzések

A formátum binaryAttributerészleteiért tekintse meg a metaadat-specifikációt.

A következőre érvényes: