EnumBuilder.CreateType Method ()

 

Creates a Type object for this enum.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public Type CreateType()

Return Value

Type: System.Type

A Type object for this enum.

Exception Condition
InvalidOperationException

This type has been previously created.

-or-

The enclosing type has not been created.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show: