CodeGenerator.OutputTypeAttributes(TypeAttributes, Boolean, Boolean) Metoda

Definicja

Generuje kod dla określonych atrybutów typu.

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)

Parametry

attributes
TypeAttributes

Jedna z wartości wyliczenia wskazująca atrybuty typu do wygenerowania kodu.

isStruct
Boolean

true jeśli typ jest strukturą; w przeciwnym razie, false.

isEnum
Boolean

true jeśli typem jest wyliczenie; w przeciwnym razie, false.

Dotyczy

Zobacz też