Share via


IInteropObjectContract2.MarshalIUnknown Method

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

Marshals the COM object represented by IInteropObjectContract2 between the host application and the add-in.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Contract
Assembly:  Microsoft.VisualStudio.Tools.Applications.Contract.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Contract.v9.0.dll)

Syntax

'Declaration
Function MarshalIUnknown As IInteropStreamContract
'Usage
Dim instance As IInteropObjectContract2 
Dim returnValue As IInteropStreamContract 

returnValue = instance.MarshalIUnknown()
IInteropStreamContract MarshalIUnknown()
IInteropStreamContract^ MarshalIUnknown()
function MarshalIUnknown() : IInteropStreamContract

Return Value

Type: Microsoft.VisualStudio.Tools.Applications.Contract.IInteropStreamContract
The marshaled COM object.

See Also

Reference

IInteropObjectContract2 Interface

IInteropObjectContract2 Members

Microsoft.VisualStudio.Tools.Applications.Contract Namespace