CodeGenerator.OutputTypeAttributes(TypeAttributes, Boolean, Boolean) Metódus

Definíció

A megadott típusattribútumok kódját hozza létre.

protected:
 virtual void OutputTypeAttributes(System::Reflection::TypeAttributes attributes, bool isStruct, bool isEnum);
protected virtual void OutputTypeAttributes(System.Reflection.TypeAttributes attributes, bool isStruct, bool isEnum);
abstract member OutputTypeAttributes : System.Reflection.TypeAttributes * bool * bool -> unit
override this.OutputTypeAttributes : System.Reflection.TypeAttributes * bool * bool -> unit
Protected Overridable Sub OutputTypeAttributes (attributes As TypeAttributes, isStruct As Boolean, isEnum As Boolean)

Paraméterek

attributes
TypeAttributes

Az egyik számbavételi érték, amely a kód létrehozásához szükséges típusattribútumokat jelzi.

isStruct
Boolean

trueha a típus egy szerkezet; egyéb esetben. false

isEnum
Boolean

trueha a típus szám; egyéb esetben. false

A következőre érvényes:

Lásd még