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.GetType (String)

Gets the named type defined in the module.

[Visual Basic]
Overloads Overrides Public Function GetType( _
   ByVal className As String _
) As Type
[C#]
public override Type GetType(
   string className
);
[C++]
public: override Type* GetType(
   String* className
);
[JScript]
public override function GetType(
   className : String
) : Type;

Parameters

className
Name of the type.

Return Value

The requested type. Returns a null reference (in Visual Basic Nothing) if the type is not found.

Exceptions

Exception Type Condition
ArgumentNullException if className is a null reference (Nothing)

Requirements

NGWS Runtime Security:

ReflectionPermission SecurityAction.Demand, ReflectionEmit

See Also

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