EnumBuilder.CreateType Method

Definition

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.

Applies to