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!

ModuleBuilder.DefineType (String)

Constructs a TypeBuilder for a type with the specified name.

[Visual Basic]
Overloads Public Function DefineType( _
   ByVal name As String _
) As TypeBuilder
[C#]
public TypeBuilder DefineType(
   string name
);
[C++]
public: TypeBuilder* DefineType(
   String* name
);
[JScript]
public function DefineType(
   name : String
) : TypeBuilder;

Parameters

name
The full path name of the type.

Return Value

Returns the created TypeBuilder.

Exceptions

Exception Type Condition
ArgumentException if name is null.

Requirements

NGWS Runtime Security:

ReflectionPermission SecurityAction.Demand, ReflectionEmit

See Also

ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace | ModuleBuilder.DefineType Overload List