RemoteObject.IProxy.Contract Property
This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.
Gets the IRemoteObjectContract represented by the RemoteObject.
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 ReadOnly Property Contract As IContract
Implements IProxy.Contract
'Usage
Dim instance As RemoteObject
Dim value As IContract
value = CType(instance, IProxy).Contract
IContract IProxy.Contract { get; }
private:
virtual property IContract^ Contract {
IContract^ get () sealed = IProxy::Contract::get;
}
JScript does not support explicit interface implementations.
Property Value
Type: System.AddIn.Contract.IContract
An IRemoteObjectContract represented by the RemoteObject.
Implements
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The Dispose method has already been called on the current RemoteObject. |
Remarks
This member is an explicit interface implementation. It can be used only when the RemoteObject is cast to an IProxy interface.