NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

EnumBuilder.CreateType

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;

Return Value

A Type object for this enum.

Exceptions

Exception Type Condition
InvalidOperationException if the containing Type has been created using CreateType.

See Also

EnumBuilder Class | EnumBuilder Members | System.Reflection.Emit Namespace