Dela via


RemoteObjectAdapter.IRemoteObjectContract.GetRemoteType Method

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

Returns the IRemoteTypeContract associated with the current RemoteObjectAdapter.

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

Syntax

'Declaration
Private Function GetRemoteType As IRemoteTypeContract 
    Implements IRemoteObjectContract.GetRemoteType
'Usage
Dim instance As RemoteObjectAdapter 
Dim returnValue As IRemoteTypeContract 

returnValue = CType(instance, IRemoteObjectContract).GetRemoteType()
IRemoteTypeContract IRemoteObjectContract.GetRemoteType()
private:
virtual IRemoteTypeContract^ GetRemoteType() sealed = IRemoteObjectContract::GetRemoteType
JScript does not support explicit interface implementations.

Return Value

Type: System.AddIn.Contract.Automation.IRemoteTypeContract
The IRemoteTypeContract2 associated with the current RemoteObjectAdapter.

Implements

IRemoteObjectContract.GetRemoteType()

Remarks

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

See Also

Reference

RemoteObjectAdapter Class

RemoteObjectAdapter Members

Microsoft.VisualStudio.Tools.Applications Namespace