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!

Marshal.GetIDispatchForObject

Returns an IDispatch interface from a managed object.

[Visual Basic]
Public Shared Function GetIDispatchForObject( _
   ByVal o As Object _
) As Integer
[C#]
public static int GetIDispatchForObject(
   object o
);
[C++]
public: static int GetIDispatchForObject(
   Object* o
);
[JScript]
public static function GetIDispatchForObject(
   o : Object
) : int;

Parameters

o
The object whose IDispatch interface is requested.

Return Value

The IDispatch* for an Object.

See Also

Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace