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 | |
---|---|---|
AddEventHandler | Adds an event handler to the host item's code file. | |
AddMethod | Adds a method to the host item's code file. | |
Dispose | Infrastructure. Releases the resources used by the ProjectHostItem. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
IsEventHandled | Returns a value that indicates whether the specified event is handled in the user code file. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Properties
Name | Description | |
---|---|---|
BlueprintFilePath | Gets the full file path of the blueprint XML file for the host item. | |
CodeFilePath | Gets the full file path of the code file for the host item. | |
FullyQualifiedNamespace | Gets the fully qualified namespace of the project host item. | |
Parent | Gets or sets the parent of the project host item, which is the HostAdapter. | |
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 | |
---|---|---|
IVstaProjectHostItem.AddEventHandler | For a description of this member, see IVstaProjectHostItem.AddEventHandler. | |
IVstaProjectHostItem.AddMethod | For a description of this member, see IVstaProjectHostItem.AddMethod. | |
IVstaProjectHostItem.BlueprintFilePath | For a description of this member, see IVstaProjectHostItem.BlueprintFilePath. | |
IVstaProjectHostItem.CodeFilePath | For a description of this member, see IVstaProjectHostItem.CodeFilePath. | |
IVstaCallback.Execute | Infrastructure. | |
IVstaProjectHostItem.FullyQualifiedNamespace | For a description of this member, see IVstaProjectHostItem.FullyQualifiedNamespace. | |
IVstaProjectHostItem.IsEventHandled | For a description of this member, see IVstaProjectHostItem.IsEventHandled. | |
IVstaProjectHostItem.Parent | For a description of this member, see IVstaProjectHostItem.Parent. | |
IVstaProjectHostItem.ProgrammingModelHostItem | For a description of this member, see IVstaProjectHostItem.ProgrammingModelHostItem. |
Top
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace