HostAdapter Members

Include Protected Members
Include Inherited Members

Provides an extension to 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 HostAdapter type exposes the following members.

Constructors

  Name Description
Public method HostAdapter Infrastructure.

Top

Methods

  Name Description
Public method Dispose Releases all resources used by the HostAdapter.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetDebugInfo Returns the specified debugging information from the project properties.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperty Returns the value of the specified property.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
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.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

  Name Description
Public property DTE Gets a reference to the DTE of the host adapter.
Public propertyStatic member ExtenderName Gets the name of the host adapter by using the string "VSTAHostAdapter2007".
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 HostAdapter.
Public property ProjectDirectory Gets the full path of the project directory.
Public property ProjectHostItems Gets a ProjectHostItemCollection object that contains the host items.

Top

Events

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

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IVstaHostAdapter.DTE For a description of this member, see IVstaHostAdapter.DTE.
Explicit interface implemetationPrivate method IVstaHostAdapter.GetDebugInfo For a description of this method, see IVstaHostAdapter.GetDebugInfo.
Explicit interface implemetationPrivate method IVstaHostAdapterInternal.GetHostPropertyXml Infrastructure.
Explicit interface implemetationPrivate method IVstaHostAdapter.GetProperty For a description of this method, see IVstaHostAdapter.GetProperty.
Explicit interface implemetationPrivate property IVstaHostAdapter.HostIdentifier For a description of this member, see IVstaHostAdapter.HostIdentifier.
Explicit interface implemetationPrivate property IVstaHostAdapterInternal.HostItemTypeGuid Infrastructure.
Explicit interface implemetationPrivate property IVstaHostAdapterInternal.HostPropertiesDirty Infrastructure.
Explicit interface implemetationPrivate property IVstaHostAdapter.IdentifierUtility For a description of this member, see IVstaHostAdapter.IdentifierUtility.
Explicit interface implemetationPrivate method IVstaHostAdapterInternal.Init Infrastructure.
Explicit interface implemetationPrivate property IVstaHostAdapter.Language For a description of this member, see IVstaHostAdapter.Language.
Explicit interface implemetationPrivate method IVstaHostAdapterInternal.OnActivateItem Infrastructure.
Explicit interface implemetationPrivate method IVstaHostAdapterInternal.OnAfterDocumentSaved Infrastructure.
Explicit interface implemetationPrivate method IVstaHostAdapterInternal.OnProjectClosing Infrastructure.
Explicit interface implemetationPrivate method IVstaHostAdapterInternal.OnProjectCreated Infrastructure.
Explicit interface implemetationPrivate property IVstaHostAdapter.Project For a description of this member, see IVstaHostAdapter.Project.
Explicit interface implemetationPrivate property IVstaHostAdapter.ProjectDirectory For a description of this member, see IVstaHostAdapter.ProjectDirectory.
Explicit interface implemetationPrivate property IVstaHostAdapter.ProjectHostItems For a description of this member, see IVstaHostAdapter.ProjectHostItems.
Explicit interface implemetationPrivate method IVstaHostAdapter.ReservedIdentifiers For a description of this method, see IVstaHostAdapter.ReservedIdentifiers.
Explicit interface implemetationPrivate method IVstaHostAdapter.SetDebugInfo For a description of this method, see IVstaHostAdapter.SetDebugInfo.
Explicit interface implemetationPrivate method IVstaHostAdapterInternal.SetHostPropertyXml Infrastructure.
Explicit interface implemetationPrivate method IVstaHostAdapter.SetProperty For a description of this method, see IVstaHostAdapter.SetProperty.

Top

See Also

Reference

HostAdapter Class

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace