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, Type)

Gets the named type defined in the module given the base type of the type.

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

Parameters

strFormat
The named type.
baseType
[To be supplied.]

Return Value

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

Requirements

NGWS Runtime Security:

ReflectionPermission SecurityAction.Demand, ReflectionEmit

See Also

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