Share via


HostItem Members

Include Protected Members
Include Inherited Members

Represents the main extended object in an application.

The HostItem type exposes the following members.

Constructors

  Name Description
Public method HostItem Initializes a new instance of the HostItem class.

Top

Methods

  Name Description
Protected method CheckElementName (Inherited from BlueprintNode.)
Protected method CheckElementType (Inherited from BlueprintNode.)
Protected method CheckName (Inherited from BlueprintNode.)
Protected method CheckNamespaceName (Inherited from BlueprintNode.)
Protected method CheckTypeName (Inherited from BlueprintNode.)
Protected method Clear Resets the properties of the HostItem to empty or default values. (Overrides IdentifierHostItemNode.Clear().)
Protected method DeserializeFromSoap (Inherited from BlueprintNode.)
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.)
Protected method GenerateHostItemCode Generates the HostItem code for the specified CodeDomProvider.
Protected method GenerateValidIdentifier (Inherited from BlueprintNode.)
Protected method GetAttribute Overloaded.
Protected method GetDisplayNameInternal In a derived class, gets the DisplayName property. (Inherited from IdentifierHostItemNode.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetIdentifierInternal Gets the identifier for the host item. (Inherited from IdentifierHostItemNode.)
Protected method GetNameAttribute Overloaded.
Protected method GetNamespaceAttribute Overloaded.
Protected method GetOptionalAttribute Overloaded.
Protected method GetOptionalNamespaceAttribute Overloaded.
Protected method GetOptionalTypeAttribute Overloaded.
Protected method GetParentInternal (Inherited from BlueprintNode.)
Protected method GetTagInternal (Inherited from BlueprintNode.)
Protected method GetText (Inherited from BlueprintNode.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method GetTypeAttribute Overloaded.
Protected method HandleAttributeError (Inherited from BlueprintNode.)
Protected method Load Overloaded.
Protected method LoadFromStream Loads the HostItem, using the values in the stream.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MoveToChildElement (Inherited from BlueprintNode.)
Protected method MoveToExpectedElement (Inherited from BlueprintNode.)
Protected method OnChanged Overloaded. Raises the Changed event.
Protected method OnChanging Raises the Changing event. (Overrides BlueprintNode.OnChanging().)
Protected method OnCorrectElement (Inherited from BlueprintNode.)
Protected method OnFlush Raises the Flush event.
Protected method OnIdentifierAdded This method verifies that the Identifier is valid (Overrides BlueprintNode.OnIdentifierAdded(String).)
Protected method OnIdentifierAdding Verifies that the Identifier being added is valid. (Overrides BlueprintNode.OnIdentifierAdding(String).)
Protected method OnIdentifierChanged Replaces the Identifier with a new Identifier. (Overrides BlueprintNode.OnIdentifierChanged(String, String).)
Protected method OnIdentifierChanging Verifies that the new identifier is valid. (Overrides BlueprintNode.OnIdentifierChanging(String, String).)
Protected method OnIdentifierRemoved Removes the indicated Identifier from the IdentifierUtility identifiers collection. (Overrides BlueprintNode.OnIdentifierRemoved(String).)
Protected method PopOut (Inherited from BlueprintNode.)
Protected method Save Saves the HostItem as XML.
Public method SaveInternalV2 Saves the HostItem as XML.
Protected method SerializeToSoap (Inherited from BlueprintNode.)
Protected method SerializeToSoapAfterRemovingUserData Overloaded.
Protected method SetDisplayNameInternal Sets the DisplayName. (Inherited from IdentifierHostItemNode.)
Protected method SetIdentifierInternal In a derived class, sets the identifier of the host item. (Inherited from IdentifierHostItemNode.)
Protected method SetParentInternal (Inherited from BlueprintNode.)
Protected method SetTagInternal (Inherited from BlueprintNode.)
Protected method SkipElement (Inherited from BlueprintNode.)
Protected method SkipEmptyElement (Inherited from BlueprintNode.)
Protected method StringToStream (Inherited from BlueprintNode.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method WriteAttribute Overloaded.
Protected method WriteOptionalAttribute Overloaded.

Top

Properties

  Name Description
Public property Cookie Gets or sets the primary cookie of the object represented by this class.
Public property DisplayName Gets or sets the display name of the HostItem.
Public property EnableVisualStyles Gets or sets a value indicating whether visual styles are enabled.
Public property GenerateCode Gets a value indicating whether code should be generated.
Public property GenerateGlobals Gets or sets a value indicating whether global variables are generated.
Public property HostObjects Gets the collection of HostObject objects (HostObjectCollection) for the HostItem.
Public property Identifier Gets or sets the HostItem's identifier.
Public property IdentifierUtility Gets the identifier utility for the HostItem.
Protected property IsClearingIdentifier Gets or sets the IsClearingIdentifier when the Clear method is called.
Public property IsGlobalsNonuserMaster Gets or sets a value indicating whether the master view contains a Globals class declaration.
Protected property IsIdentifierRequired Gets a value indicating whether the IsClearingIdentifier is set to true or false. (Overrides BlueprintNode.IsIdentifierRequired.)
Public property ItemBaseType Gets or sets the base class for the HostItem.
Public property ItemInterfaceType Gets or sets the base interface for the HostItem.
Public property Namespace Gets or sets the namespace of the HostItem.
Public property Parent Gets or sets the parent of the HostItem.
Protected property SchemaVersion Gets or sets the version number of the HostItem's schema.
Public property StartupIndex Gets or sets a value indicating the starting index of a HostItem.
Public property Tag Gets or sets an object that contains data about the HostItem. The default is nulla null reference (Nothing in Visual Basic).

Top

Events

  Name Description
Public event Changed Occurs when a property of the HostItem is changed.
Public event Changing Occurs when a property of the HostItem is changing.
Public event Flush Occurs when the HostItem is cleared.

Top

See Also

Reference

HostItem Class

Microsoft.VisualStudio.Tools.Applications.ProgrammingModel Namespace