Udostępnij za pośrednictwem


InteropAdapter.IInteropObjectContract2.GetIUnknownInProcess 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.GetIUnknownInProcess.

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

Syntax

'Declaration
<SecurityCriticalAttribute> _
<SecurityTreatAsSafeAttribute> _
<SecurityPermissionAttribute(SecurityAction.Assert, UnmanagedCode := True)> _
Private Function GetIUnknownInProcess As IntPtr 
    Implements IInteropObjectContract2.GetIUnknownInProcess
'Usage
Dim instance As InteropAdapter 
Dim returnValue As IntPtr 

returnValue = CType(instance, IInteropObjectContract2).GetIUnknownInProcess()
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
[SecurityPermissionAttribute(SecurityAction.Assert, UnmanagedCode = true)]
IntPtr IInteropObjectContract2.GetIUnknownInProcess()
[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
[SecurityPermissionAttribute(SecurityAction::Assert, UnmanagedCode = true)]
private:
virtual IntPtr GetIUnknownInProcess() sealed = IInteropObjectContract2::GetIUnknownInProcess
JScript does not support explicit interface implementations.

Return Value

Type: System.IntPtr

Implements

IInteropObjectContract2.GetIUnknownInProcess()

Remarks

This member is an explicit interface member implementation. It can be used only when the InteropAdapter instance is cast to an IInteropObjectContract2 interface.

See Also

Reference

InteropAdapter Class

InteropAdapter Members

Microsoft.VisualStudio.Tools.Applications Namespace