CodeGenerator.OutputTypeAttributes(TypeAttributes, Boolean, Boolean) Methode

Definition

Generiert Code für die angegebenen Typattribute.

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)

Parameter

attributes
TypeAttributes

Einer der Enumerationswerte, der die Typattribute angibt, für die Code generiert werden soll.

isStruct
Boolean

truewenn der Typ eine Struktur ist; andernfalls . false

isEnum
Boolean

truewenn der Typ eine Enumeration ist; andernfalls . false

Gilt für:

Weitere Informationen