EnumBuilder.CreateType EnumBuilder.CreateType EnumBuilder.CreateType EnumBuilder.CreateType Method

定义

创建此枚举的 Type 对象。Creates a Type object for this enum.

public:
 Type ^ CreateType();
public Type CreateType ();
member this.CreateType : unit -> Type
Public Function CreateType () As Type

返回

此枚举的 Type 对象。A Type object for this enum.

异常

以前已创建此类型。This type has been previously created.

- 或 --or-

尚未创建封闭类型。The enclosing type has not been created.

适用于