CodeGenerator::OutputTypeAttributes Method (TypeAttributes, Boolean, Boolean)

 

Generates code for the specified type attributes.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

protected:
virtual void OutputTypeAttributes(
	TypeAttributes attributes,
	bool isStruct,
	bool isEnum
)

Parameters

attributes
Type: System.Reflection::TypeAttributes

One of the enumeration values that indicates the type attributes to generate code for.

isStruct
Type: System::Boolean

true if the type is a struct; otherwise, false.

isEnum
Type: System::Boolean

true if the type is an enum; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: