Creates a Type object for this enum.
[Visual Basic] Public Function CreateType() As Type [C#] public Type CreateType(); [C++] public: Type* CreateType(); [JScript] public function CreateType() : Type;
A Type object for this enum.
Exception Type | Condition |
---|---|
InvalidOperationException | if the containing Type has been created using CreateType. |
EnumBuilder Class | EnumBuilder Members | System.Reflection.Emit Namespace