ProjectHostItem Members

Include Protected Members
Include Inherited Members

Represents the host item in the Visual Studio Tools for Applications project, which appears as a code file in Project Explorer.

The ProjectHostItem type exposes the following members.

Methods

  Name Description
Public method AddEventHandler Adds an event handler to the host item's code file.
Public method AddMethod Adds a method to the host item's code file.
Public method Dispose Infrastructure. Releases the resources used by the ProjectHostItem.
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 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IsEventHandled Returns a value that indicates whether the specified event is handled in the user code file.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

  Name Description
Public property BlueprintFilePath Gets the full file path of the blueprint XML file for the host item.
Public property CodeFilePath Gets the full file path of the code file for the host item.
Public property FullyQualifiedNamespace Gets the fully qualified namespace of the project host item.
Public property Parent Gets or sets the parent of the project host item, which is the HostAdapter.
Public property ProgrammingModelHostItem Gets an Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop.IVstaHostItem that enables you to set identifiers, to access host objects and other properties such as the cookie and display name, and to raise events.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IVstaProjectHostItem.AddEventHandler For a description of this member, see IVstaProjectHostItem.AddEventHandler.
Explicit interface implemetationPrivate method IVstaProjectHostItem.AddMethod For a description of this member, see IVstaProjectHostItem.AddMethod.
Explicit interface implemetationPrivate property IVstaProjectHostItem.BlueprintFilePath For a description of this member, see IVstaProjectHostItem.BlueprintFilePath.
Explicit interface implemetationPrivate property IVstaProjectHostItem.CodeFilePath For a description of this member, see IVstaProjectHostItem.CodeFilePath.
Explicit interface implemetationPrivate method IVstaCallback.Execute Infrastructure.
Explicit interface implemetationPrivate property IVstaProjectHostItem.FullyQualifiedNamespace For a description of this member, see IVstaProjectHostItem.FullyQualifiedNamespace.
Explicit interface implemetationPrivate method IVstaProjectHostItem.IsEventHandled For a description of this member, see IVstaProjectHostItem.IsEventHandled.
Explicit interface implemetationPrivate property IVstaProjectHostItem.Parent For a description of this member, see IVstaProjectHostItem.Parent.
Explicit interface implemetationPrivate property IVstaProjectHostItem.ProgrammingModelHostItem For a description of this member, see IVstaProjectHostItem.ProgrammingModelHostItem.

Top

See Also

Reference

ProjectHostItem Class

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace