EnumBuilder.CreateType Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a Type object for this enum.
public:
 Type ^ CreateType();
	public Type CreateType();
	public Type? CreateType();
	member this.CreateType : unit -> Type
	Public Function CreateType () As Type
	Returns
A Type object for this enum.
Exceptions
This type has been previously created.
-or-
The enclosing type has not been created.