Sdílet prostřednictvím


CodeGenerator.OutputTypeAttributes(TypeAttributes, Boolean, Boolean) Metoda

Definice

Vygeneruje kód pro zadané atributy 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 hodnot výčtu, která označuje atributy typu, pro které se má vygenerovat kód.

isStruct
Boolean

truepokud typ je struktura; v opačném případě . false

isEnum
Boolean

truepokud je typ výčtu; v opačném případě . false

Platí pro

Viz také