CodeGenerator.OutputTypeAttributes(TypeAttributes, Boolean, Boolean) Methode

Definitie

Hiermee genereert u code voor de opgegeven typekenmerken.

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)

Parameters

attributes
TypeAttributes

Een van de opsommingswaarden die de typekenmerken aangeeft waarvoor code moet worden gegenereerd.

isStruct
Boolean

true als het type een struct is; anders, false.

isEnum
Boolean

true als het type een opsomming is; anders, false.

Van toepassing op

Zie ook