Share via


IHostTypeProviderContract Members

Include Protected Members
Include Inherited Members

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

Defines a method that enables the add-in to obtain types from the host application's object model. Visual Studio Tools for Applications can use these types to invoke static members.

The IHostTypeProviderContract type exposes the following members.

Methods

  Name Description
Public method AcquireLifetimeToken Specifies that the contract is accessible to a client until the client revokes the contract. (Inherited from IContract.)
Public method GetHostType Returns the requested type from the host application's object model.
Public method GetRemoteHashCode Returns a hash code for the IContract. (Inherited from IContract.)
Public method QueryContract Returns a contract that is implemented by this contract. (Inherited from IContract.)
Public method RemoteEquals Indicates whether the specified contract is equal to this IContract. (Inherited from IContract.)
Public method RemoteToString Returns a string representation of the current IContract. (Inherited from IContract.)
Public method RevokeLifetimeToken Specifies that the contract is no longer accessible to a client. (Inherited from IContract.)

Top

See Also

Reference

IHostTypeProviderContract Interface

Microsoft.VisualStudio.Tools.Applications.Contract Namespace