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!

CodeStream.GetType (String, AssemblyName)

Gets the type of the object matching the specified type name within the specified assembly. This method will be used by the designer host to load classes and other data types.

[Visual Basic]
Overloads Overridable Public Function GetType( _
   ByVal typeName As String, _
   ByVal assemblyName As AssemblyName _
) As Type
[C#]
public virtual Type GetType(
   string typeName,
   AssemblyName assemblyName
);
[C++]
public: virtual Type* GetType(
   String* typeName,
   AssemblyName* assemblyName
);
[JScript]
public function GetType(
   typeName : String,
   assemblyName : AssemblyName
) : Type;

Parameters

typeName
The name of the type to load.
assemblyName
The name of the assembly that contains the type.

Return Value

The type of the object indicated by the specified name and assembly.

Remarks

Notes to Inheritors: The default implementation simply calls Type.GetType, but you can override this to provide your own functionality.

See Also

CodeStream Class | CodeStream Members | System.ComponentModel.Design Namespace | CodeStream.GetType Overload List