InteropAdapter.IInteropObjectContract2.MarshalIUnknown Method
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
For a description of this member, see IInteropObjectContract2.MarshalIUnknown.
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)
Syntax
'Declaration
<SecurityTreatAsSafeAttribute> _
<SecurityCriticalAttribute> _
<SecurityPermissionAttribute(SecurityAction.Assert, UnmanagedCode := True)> _
Private Function MarshalIUnknown As IInteropStreamContract
Implements IInteropObjectContract2.MarshalIUnknown
'Usage
Dim instance As InteropAdapter
Dim returnValue As IInteropStreamContract
returnValue = CType(instance, IInteropObjectContract2).MarshalIUnknown()
[SecurityTreatAsSafeAttribute]
[SecurityCriticalAttribute]
[SecurityPermissionAttribute(SecurityAction.Assert, UnmanagedCode = true)]
IInteropStreamContract IInteropObjectContract2.MarshalIUnknown()
[SecurityTreatAsSafeAttribute]
[SecurityCriticalAttribute]
[SecurityPermissionAttribute(SecurityAction::Assert, UnmanagedCode = true)]
private:
virtual IInteropStreamContract^ MarshalIUnknown() sealed = IInteropObjectContract2::MarshalIUnknown
JScript does not support explicit interface implementations.
Return Value
Type: Microsoft.VisualStudio.Tools.Applications.Contract.IInteropStreamContract
Implements
IInteropObjectContract2.MarshalIUnknown()
Remarks
This member is an explicit interface member implementation. It can be used only when the InteropAdapter instance is cast to an IInteropObjectContract2 interface.