IVstaHostAdapter Members

Include Protected Members
Include Inherited Members

Provides a COM-visible interface for accessing a Visual Studio Tools for Applications host adapter. It extends the Visual Studio object model for Visual Studio Tools for Applications projects and enables the host application to access and customize the Visual Studio Tools for Applications project.

The IVstaHostAdapter type exposes the following members.

Methods

  Name Description
Public method GetDebugInfo Returns the specified debugging information from the project properties.
Public method GetProperty Returns the value of the specified property.
Public method ReservedIdentifiers Returns a collection of reserved identifiers.
Public method SetDebugInfo Sets the specified debugging information for the project.
Public method SetProperty Sets the value of the specified property or creates the property if it does not exist.

Top

Properties

  Name Description
Public property DTE Gets a reference to the DTE of the IVstaHostAdapter.
Public property HostIdentifier Gets the unique identifier for the host application.
Public property IdentifierUtility Gets the identifier utility object.
Public property Language Gets the programming language of the project.
Public property Project Gets a Project that is associated with the IVstaHostAdapter.
Public property ProjectDirectory Gets the full path of the project directory.
Public property ProjectHostItems Gets an IVstaProjectHostItemCollection object that contains the host items.

Top

Events

  Name Description
Public event ActivateProjectHostItem Occurs when a host item is activated.
Public event DocumentSaved Occurs when a project document is saved.
Public event ProjectClosing Occurs when the project is closing.

Top

See Also

Reference

IVstaHostAdapter Interface

Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop Namespace