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!

Activator.CreateInstance (String, String, Boolean)

Creates a handle to an object using the name of the type and the assembly where it exists. This allows types to be created remotely without having to load the type locally. These will return an ObjectHandle that needs to be unwrapped in order to access the real object.

[Visual Basic]
Overloads Public Shared Function CreateInstance( _
   ByVal assemblyName As String, _
   ByVal typeName As String, _
   ByVal shared As Boolean _
) As ObjectHandle
[C#]
public static ObjectHandle CreateInstance(
   string assemblyName,
   string typeName,
   bool shared
);
[C++]
public: static ObjectHandle* CreateInstance(
   String* assemblyName,
   String* typeName,
   bool shared
);
[JScript]
public static function CreateInstance(
   assemblyName : String,
   typeName : String,
   shared : Boolean
) : ObjectHandle;

Parameters

assemblyName
The name of the assembly in which this object type resides.
typeName
[To be supplied.]
shared
[To be supplied.]

Return Value

A handle to the requested object.

See Also

Activator Class | Activator Members | System Namespace | Activator.CreateInstance Overload List