IVstaHostItem Members

Include Protected Members
Include Inherited Members

Provides properties and events to change a HostItem.

The IVstaHostItem type exposes the following members.

Properties

  Name Description
Public property Cookie Gets or sets a string that identifies a HostItem when a service request is made to the host.
Public property DisplayName Gets or sets a string that specifies a way to identify the name of a HostItem in the user interface if that name differs from the file name (excluding the extension).
Public property EnableVisualStyles Gets or sets a value that specifies whether Windows Forms and other visual components can be used during code generation.
Public property GenerateCode Gets or sets a value that specifies whether the code-behind file will be generated.
Public property GenerateGlobals Gets a value that specifies whether to generate a Globals partial class that contains a static reference to the HostItem.
Public property HostObjects Gets the collection of host objects that is contained by the HostItem.
Public property Identifier Gets or sets the class name identifier of the HostItem.
Public property IdentifierUtility Gets a reference to an IVstaIdentifierUtility object that can be used to create new identifiers for the host item.
Public property IsGlobalsNonuserMaster Gets or sets a value that specifies whether the Globals class of the HostItem has the DebuggerNonUserCodeAttribute attribute.
Public property ItemBaseType Gets or sets the name of the base type that the type represented by the HostItem derives from.
Public property ItemInterfaceType Gets or sets the name of the interface that the type represented by the HostItem implements.
Public property Namespace Gets or sets the name of the namespace that contains the type represented by the HostItem.
Public property Parent Gets or sets a reference to the parent of the HostItem.
Public property StartupIndex Gets or sets a value that specifies the HostItem creation order.
Public property Tag Gets or sets the object that contains data about the HostItem.

Top

Events

  Name Description
Public event Changed Occurs when any one of the public properties of the HostItem has changed.
Public event Changing Occurs when any one of the public properties of the HostItem is about to change.

Top

See Also

Reference

IVstaHostItem Interface

Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace