Export (0) Print
Expand All
Expand Minimize

HierarchyNode Methods

Visual Studio 2005

(see also Protected Methods )
  Name Description
Public method AddChild Adds a hierarchy node as a child node.  
Public method AddFilesFromProjectRefererences Moves files from one part of the project to another.  
Public method AdviseHierarchyEvents Establishes client notification of hierarchy events.  
Public method Close Closes and cleans up a hierarchy once the environment determines that it is no longer used.  
Public method DeleteItem Handles the deletion or removal of a hierarchy item.  
Public method DragEnter Called when the mouse drags an item over a new hierarchy or hierarchy window.  
Public method DragLeave Called when one or more items are dragged out of the hierarchy or hierarchy window, or when the drag-and-drop operation is cancelled or completed.  
Public method DragOver Called when one or more items are dragged over the target hierarchy or hierarchy window.  
Public method Drop Called when one or more items are dropped into the target hierarchy or hierarchy window when the mouse button is released.  
Public method Equals  Overloaded. (Inherited from Object.)
Public method Exec Executes the specified non-UI command or displays help for a command.  
Public method ExecCommand Executes the specified command on the specified item within a UI hierarchy window, or on the hierarchy itself.  
Public method FindChildByProjectElement Finds a non-virtual hierarchy element (a node with a build item) by its project element.  
Public method GetAutomationObject Gets an automation object for the current node.  
Public method GetCanonicalName Overloaded. Gets the document moniker for the current node. In most cases, the moniker is the fully-qualified name of the document.  
Public method GetDropInfo Returns information about one or more of the items being dragged.  
Public method GetEditLabel Gets a caption value for the editable node.  
Public method GetGuidProperty Overloaded. Gets the GUID value of the hierarchy node.  
Public method GetHashCode  (Inherited from Object.)
Public method GetIconHandle Gets the icon handle.  
Public method GetMkDocument Gets the name of the node.  
Public method GetNestedHierarchy When overridden in a derived class, gets the nested hierarchy element specified by the item ID.  
Public method GetProperty Overloaded. Gets properties of a given node or of the hierarchy.  
Public method GetService Gets the service of the specified type, if it is available.  
Public method GetSite Gets the service provider from which to access the services.  
Public method GetType  (Inherited from Object.)
Public method IgnoreItemFileChanges Flag indicating that changes to a file can be ignored when item is saved or reloaded.  
Public method IsItemDirty Determines whether the supplied item has changed.  
Public method IsItemReloadable Called to determine whether a project item is reloadable before calling ReloadItem.  
Public method OnBeforeDropNotify Notifies the source hierarchy that information dragged from it is about to be dropped on a target. This method is called immediately after the mouse button is released on a drop.  
Public method OnDropNotify Notifies clients that the dragged item was dropped.  
Public method OnInvalidateItems Notifies clients when changes are made to the item inventory of a hierarchy.  
Public method OnItemAdded Notifies clients when an item is added to the hierarchy.  
Public method OnItemDeleted Notifies clients when an item is deleted from the hierarchy.  
Public method OnItemsAppended Notifies clients when items are appended to the end of the hierarchy.  
Public method OnPropertyChanged Notifies clients when one or more properties of an item have changed.  
Public method ParseCanonicalName Returns the identifier of the hierarchy item, given its canonical name.  
Public method QueryClose Determines whether the given hierarchy can be closed.  
Public method QueryDeleteItem Called by the environment to determine whether the hierarchy supports item deletion, removal, or both.  
Public method QueryStatus Queries the object for the status of one or more commands generated by user interface events.  
Public method QueryStatusCommand Queries the object for the command status.  
Public method ReDraw Redraws the node.  
Public method Static ReferenceEquals  (Inherited from Object.)
Public method ReloadItem Called to reload the project item.  
Public method Remove Removes items from the hierarchy.  
Public method RemoveChild Removes a child node.  
Public method SaveItem Saves the hierarchy item to disk.  
Public method SetEditLabel Overloaded. Sets a caption value for the editable node.  
Public method SetGuidProperty Overloaded. Sets properties whose values are GUIDs.  
Public method SetProperty Overloaded. Sets properties of a specific node or of the hierarchy.  
Public method SetSite Sets the service provider from which to access the services.  
Public method ToString  (Inherited from Object.)
Public method UnadviseHierarchyEvents Disables client notification of hierarchy events.  
Public method Unused0 Adds new methods without recompiling or breaking binary compatibility.  
Public method Unused1 Adds new methods without recompiling or breaking binary compatibility.  
Public method Unused2 Adds new methods without recompiling or breaking binary compatibility.  
Public method Unused3 Adds new methods without recompiling or breaking binary compatibility.  
Public method Unused4 Adds new methods without recompiling or breaking binary compatibility.  
Top

  Name Description
Protected method AddItemToHierarchy Adds new item to the hierarchy.  
Protected method AddNewFolder Adds a new folder to the project hierarchy.  
Protected method AfterSaveItemAs Saves an item after the SaveAs dialog has been processed.  
Protected method CanDeleteItem Checks whether the file can be deleted from storage or removed from the project.  
Protected method CanShowDefaultIcon Checks whether this node can be displayed with the default item icon.  
Protected method CloseDocumentWindow Closes an open document window for a specific node.  
Protected method DeleteFromStorage Overloaded.
Protected method DisableCmdInCurrentMode Disables commands when Visual Studio is in run or break mode.  
Protected method DisableCommandOnNodesThatDoNotSupportMultiSelection Specifies commands for which multi-select does not work and should be disabled.  
Protected method DisplayContextMenu Shows the context menu for the specified nodes.  
Protected method DoDefaultAction Performs the default event in the hierarchy. This is typically called when a user either hits the ENTER key or double-clicks the item.  
Protected method ExcludeFromProject Removes this item from the project, but does not delete it from disk.  
Protected method ExecCommandIndependentOfSelection Executes commands that do not depend on what is selected.  
Protected method ExecCommandOnNode Handles execution of a given command on this node.  
Protected method ExecCommandThatDependsOnSelectedNodes Handles execution of a command that is executed on a set of nodes.  
Protected method Finalize  (Inherited from Object.)
Protected method GetCanonicalName Overloaded. Gets the document moniker for the current node. In most cases, the moniker is the fully-qualified name of the document.  
Protected method GetDocumentManager Gets the document manager for this node.  
Protected method GetDragTargetHandlerNode Gets the node that should handle drag and drop operations.  
Protected method GetQueryAddFileFlags Sets the flags that will be used to add the specified set of files.  
Protected method GetQueryRemoveFileFlags Sets the flags that will be used to removed the specified files.  
Protected method GetSccFiles Provides a list of files and their associated flags for source code control.  
Protected method GetSccSpecialFiles Provides a list of special files and their associated flags for source code control.  
Protected method InternalExecCommand This method is the main entry point for command execution. It gets called from the IVsUIHierarchy and IOleCommandTarget execution methods.  
Protected method MemberwiseClone  (Inherited from Object.)
Protected method PrepareSelectedNodesForClipBoard This method prepares selected nodes for the clipboard.  
Protected method QueryStatusCommandFromOleCommandTarget Handles menus originating from IOleCommandTarget.  
Protected method QueryStatusOnNode Handles command status on a node.  
Protected method QueryStatusSelection Queries for the command status on the selected nodes.  
Protected method QueryStatusSelectionOnNodes Queries the selected nodes for the command status.  
Protected method SetEditLabel Overloaded. Sets a caption value for the editable node.  
Protected method ShowContextMenu Shows the specified context menu at the specified location.  
Protected method ShowInDesigner Handles the Show in Designer command.  
Protected method UpdateSccStateIcons Redraws the node's source code control state icons.  
Top

Community Additions

ADD
Show:
© 2014 Microsoft