Udostępnij za pośrednictwem


ITypeMapProvider Interface (2007 System)

Enables mapping between the proxy type the add-in uses and the actual host type in the host application.

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

Syntax

'Declaration
Public Interface ITypeMapProvider
'Usage
Dim instance As ITypeMapProvider
public interface ITypeMapProvider
public interface class ITypeMapProvider
public interface ITypeMapProvider

Remarks

When the add-in calls a method of a host object, it calls through a proxy object. Visual Studio Tools for Applications intercepts these method calls and maps them to the corresponding method of the host object. This interface provides the type mapping between the proxy type and the host type by means of a canonical name.

Implement this interface in the host application's integration code to enable type mapping.

See Also

Reference

ITypeMapProvider Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace