NestedProjectNode Members

Represents a project node that is nested under another project node in the hierarchy.

The NestedProjectNode type exposes the following members.

Constructors

  Name Description
Public method NestedProjectNode Overloaded. Initializes a new instance of NestedProjectNode.

Top

Methods

  Name Description
Public method AddChild Adds a hierarchy node as a child node. (Inherited from HierarchyNode.)
Protected method AddItemToHierarchy Adds a new item to the hierarchy. (Inherited from HierarchyNode.)
Protected method AddNewFolder Adds a new folder to the project hierarchy. (Inherited from HierarchyNode.)
Protected method AddVirtualProject
Public method AdviseHierarchyEvents Establishes client notification of hierarchy events. (Inherited from HierarchyNode.)
Protected method AfterSaveItemAs Saves an item after the SaveAs dialog box has been processed. (Inherited from HierarchyNode.)
Protected method AllowPasteCommand Specifies whether a node can be pasted. (Inherited from HierarchyNode.)
Protected method CanDeleteItem Determines whether or not the item can be deleted. (Overrides HierarchyNode.CanDeleteItem(__VSDELETEITEMOPERATION).)
Protected method CanShowDefaultIcon Checks whether this node can be displayed with the default item icon. (Inherited from HierarchyNode.)
Public method Close Closes a nested project. This method is not implemented. (Overrides HierarchyNode.Close().)
Protected method CloseDocumentWindow Closes an open document window for a specific node. (Inherited from HierarchyNode.)
Protected method CopyToClipboard Copies a node to the clipboard. (Inherited from HierarchyNode.)
Protected method CreateProjectDirectory Creates a project directory for the nested project.
Protected method CreatePropertiesObject Defines the properties attached to this node. (Inherited from HierarchyNode.)
Protected method CutToClipboard Cuts a node and puts it on the clipboard. (Inherited from HierarchyNode.)
Protected method DeleteFromStorage Deletes the file at the specified path from storage. (Inherited from HierarchyNode.)
Public method DeleteItem Handles the deletion or removal of a hierarchy item. (Inherited from HierarchyNode.)
Protected method DisableCmdInCurrentMode Disables commands when Visual Studio is in run or break mode. (Inherited from HierarchyNode.)
Protected method DisableCommandOnNodesThatDoNotSupportMultiSelection Specifies commands for which multi-select does not work and should be disabled. (Inherited from HierarchyNode.)
Protected method DisplayContextMenu Shows the shortcut menu for the specified nodes. (Inherited from HierarchyNode.)
Public method Dispose Overloaded. Disposes the object.
Protected method DoDefaultAction Performs the default event in the hierarchy. This is typically called when a user either presses ENTER or double-clicks the item. (Inherited from HierarchyNode.)
Public method DragEnter Called when the mouse drags an item over a new hierarchy or hierarchy window. (Inherited from HierarchyNode.)
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 canceled or completed. (Inherited from HierarchyNode.)
Public method DragOver Called when one or more items are dragged over the target hierarchy or hierarchy window. (Inherited from HierarchyNode.)
Public method Drop Called when one or more items are dropped into the target hierarchy or hierarchy window when the mouse button is released. (Inherited from HierarchyNode.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method ExcludeFromProject Removes this item from the project, but does not delete it from disk. (Inherited from HierarchyNode.)
Public method Exec Executes the specified non-UI command or displays help for a command. (Inherited from HierarchyNode.)
Public method ExecCommand Executes the specified command on the specified item in a UI hierarchy window, or on the hierarchy itself. (Inherited from HierarchyNode.)
Protected method ExecCommandIndependentOfSelection Executes commands that do not depend on what is selected. (Inherited from HierarchyNode.)
Protected method ExecCommandOnNode Handles execution of a given command on this node. (Inherited from HierarchyNode.)
Protected method ExecCommandThatDependsOnSelectedNodes Handles execution of a command that is executed on a set of nodes. (Inherited from HierarchyNode.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method FindChildByProjectElement Finds a non-virtual hierarchy element (a node with a build item) by its project element. (Inherited from HierarchyNode.)
Protected method GetAddFileFlags (Overrides HierarchyNode.GetAddFileFlags([]).)
Public method GetAutomationObject Gets the automation-compliant object that represents a subproject node. (Overrides HierarchyNode.GetAutomationObject().)
Public method GetCanonicalName Overloaded.
Protected method GetDocumentManager Gets the document manager for this node. (Inherited from HierarchyNode.)
Protected method GetDragTargetHandlerNode Gets the node that should handle drag-and-drop operations. (Inherited from HierarchyNode.)
Public method GetDropInfo Returns information about one or more of the items being dragged. (Inherited from HierarchyNode.)
Public method GetEditLabel (Overrides HierarchyNode.GetEditLabel().)
Public method GetGuidProperty Overloaded.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetIconHandle Gets the handle of the icon that represents the nested project node. (Overrides HierarchyNode.GetIconHandle(Boolean).)
Public method GetMkDocument Gets the project's absolute path. (Overrides HierarchyNode.GetMkDocument().)
Public method GetNestedHierarchy When overridden in a derived class, gets the nested hierarchy element that is specified by the item ID. (Inherited from HierarchyNode.)
Public method GetProperty Overloaded.
Protected method GetQueryAddFileFlags (Overrides HierarchyNode.GetQueryAddFileFlags([]).)
Protected method GetQueryRemoveFileFlags (Overrides HierarchyNode.GetQueryRemoveFileFlags([]).)
Public method GetRelationalName Gets the relational name. (Inherited from HierarchyNode.)
Public method GetRelationNameExtension Gets the extension that is associated with a relational name. (Inherited from HierarchyNode.)
Protected method GetRemoveFileFlags (Overrides HierarchyNode.GetRemoveFileFlags([]).)
Protected method GetSccFiles Provides a list of files and their associated flags for source code control. (Inherited from HierarchyNode.)
Protected method GetSccSpecialFiles Provides a list of special files and their associated flags for source code control. (Inherited from HierarchyNode.)
Public method GetService Gets the service of the specified type, if it is available. (Inherited from HierarchyNode.)
Public method GetSite Gets the service provider from which to access the services. (Inherited from HierarchyNode.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IgnoreItemFileChanges Overloaded.
Public method Init Initializes the nested project node. This method should be called just after the node is created.
Protected method InternalExecCommand The main entry point for command execution. It is called from the IVsUIHierarchy and IOleCommandTarget execution methods. (Inherited from HierarchyNode.)
Public method IsItemDirty Determines whether or not the hierarchy node has changed. (Overrides HierarchyNode.IsItemDirty(UInt32, IntPtr, Int32%).)
Public method IsItemReloadable Overloaded.
Protected method LockRDTEntry Locks the Running Document Table entry for the nested project.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
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. (Inherited from HierarchyNode.)
Public method OnChanged
Public method OnDropNotify Notifies clients that the dragged item was dropped. (Inherited from HierarchyNode.)
Public method OnInvalidateItems Notifies clients when changes are made to the item inventory of a hierarchy. (Inherited from HierarchyNode.)
Public method OnItemAdded Notifies clients when an item is added to the hierarchy. (Inherited from HierarchyNode.)
Public method OnItemDeleted Notifies clients when an item is deleted from the hierarchy. (Inherited from HierarchyNode.)
Public method OnItemsAppended Notifies clients when items are appended to the end of the hierarchy. (Inherited from HierarchyNode.)
Public method OnPropertyChanged Notifies clients when one or more properties of an item have changed. (Inherited from HierarchyNode.)
Public method OnRequestEdit
Public method ParseCanonicalName Returns the identifier of the hierarchy item, given its canonical name. (Inherited from HierarchyNode.)
Protected method PasteFromClipboard Pastes an item from the clipboard. (Inherited from HierarchyNode.)
Protected method PrepareSelectedNodesForClipBoard Prepares selected nodes for the clipboard. (Inherited from HierarchyNode.)
Public method QueryClose Determines whether the given hierarchy can be closed. (Inherited from HierarchyNode.)
Public method QueryDeleteItem Called by the environment to determine whether the hierarchy supports item deletion, item removal, or both. (Inherited from HierarchyNode.)
Public method QueryStatus Queries the object for the status of one or more commands that are generated by user interface events. (Inherited from HierarchyNode.)
Public method QueryStatusCommand Queries the object for the command status. (Inherited from HierarchyNode.)
Protected method QueryStatusCommandFromOleCommandTarget Handles menus that originate from IOleCommandTarget. (Inherited from HierarchyNode.)
Protected method QueryStatusOnNode Handles command status on a node. (Inherited from HierarchyNode.)
Protected method QueryStatusSelection Queries for the command status on the selected nodes. (Inherited from HierarchyNode.)
Protected method QueryStatusSelectionOnNodes Queries the selected nodes for the command status. (Inherited from HierarchyNode.)
Public method ReDraw Redraws the node. (Inherited from HierarchyNode.)
Protected method RegisterClipboardNotifications Registers and un-registers clipboard events for the Solution Explorer. (Inherited from HierarchyNode.)
Public method ReloadItem Overloaded.
Public method Remove Removes items from the hierarchy. (Inherited from HierarchyNode.)
Public method RemoveChild Removes a child node. (Inherited from HierarchyNode.)
Protected method RenameNestedProjectInParentProject
Public method SaveItem Saves to disk the file backing the specified hierarchy node. (Overrides HierarchyNode.SaveItem(VSSAVEFLAGS, String, UInt32, IntPtr, Int32%).)
Protected method SaveNestedProjectItemInProjectFile
Public method SetEditLabel Overloaded.
Public method SetGuidProperty Overloaded.
Public method SetProperty Overloaded.
Public method SetSite Sets the service provider from which to access the services. (Inherited from HierarchyNode.)
Protected method ShowContextMenu Shows the specified shortcut menu at the specified location. (Inherited from HierarchyNode.)
Protected method ShowInDesigner Handles the Show in Designer command. (Inherited from HierarchyNode.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method UnadviseHierarchyEvents Disables client notification of hierarchy events. (Inherited from HierarchyNode.)
Protected method UnlockRDTEntry Unlocks the Running Document Table entry for this nested project.
Public method Unused0 Adds new methods without recompiling or breaking binary compatibility. (Inherited from HierarchyNode.)
Public method Unused1 Adds new methods without recompiling or breaking binary compatibility. (Inherited from HierarchyNode.)
Public method Unused2 Adds new methods without recompiling or breaking binary compatibility. (Inherited from HierarchyNode.)
Public method Unused3 Adds new methods without recompiling or breaking binary compatibility. (Inherited from HierarchyNode.)
Public method Unused4 Adds new methods without recompiling or breaking binary compatibility. (Inherited from HierarchyNode.)
Protected method UpdateSccStateIcons Redraws the source code control state icons of the node. (Inherited from HierarchyNode.)

Top

Properties

  Name Description
Public property CanExecuteCommand Gets whether or not this node can execute commands if it is selected. (Overrides HierarchyNode.CanExecuteCommand.)
Public property Caption Gets the caption, or display name, of the node. (Overrides HierarchyNode.Caption.)
Public property DocCookie Gets or sets the ID of the associated file. (Inherited from HierarchyNode.)
Public property ExcludeNodeFromScc Gets or sets whether a node should be excluded from source code control. (Inherited from HierarchyNode.)
Public property FirstChild Gets or sets the first child hierarchy node. (Inherited from HierarchyNode.)
Public property HasDesigner Gets or sets whether the hierarchy node has a designer associated with it. (Inherited from HierarchyNode.)
Public property HasParentNodeNameRelation Defines whether a node has a name relation to its parent node. (Inherited from HierarchyNode.)
Public property ID Gets the hierarchy node ID. (Inherited from HierarchyNode.)
Public property ImageIndex Gets the index of the associated image. (Inherited from HierarchyNode.)
Protected property IsDisposed Gets or sets whether or not this node has already been disposed.
Public property IsExpanded Gets or sets whether the hierarchy node is in the expanded state. (Inherited from HierarchyNode.)
Public property ItemNode Gets or sets the associated project element node, which represents the build item. (Inherited from HierarchyNode.)
Protected property ItemsDraggedOrCutOrCopied Gets the list of nodes that are selected for a drag, cut, or copy operation. (Inherited from HierarchyNode.)
Public property ItemTypeGuid Gets the type GUID of a nested project node. (Overrides HierarchyNode.ItemTypeGuid.)
Public property LastChild Gets and sets the last child node. (Inherited from HierarchyNode.)
Public property MenuCommandId Gets the menu command ID that is associated with the node. (Inherited from HierarchyNode.)
Public property NameRelationSeparator Gets the name relation separator. (Inherited from HierarchyNode.)
Public property NextSibling Gets or sets the next sibling node. (Inherited from HierarchyNode.)
Public property NodeProperties Gets and sets the node properties of this node. (Inherited from HierarchyNode.)
Public property OleServiceProvider Gets the OLE service provider for this node. (Inherited from HierarchyNode.)
Public property Parent Gets or sets the parent node of this element. (Inherited from HierarchyNode.)
Public property PreviousSibling Gets or sets the node that immediately precedes this hierarchy node element. (Inherited from HierarchyNode.)
Public property ProjectMgr Gets or sets the root element for this hierarchy node. (Inherited from HierarchyNode.)
Public property SortPriority Gets the sort priority of a nested project node. (Overrides HierarchyNode.SortPriority.)
Protected property SourceDraggedOrCutOrCopied Gets and sets whether there are items to be dragged, cut, or copied. (Inherited from HierarchyNode.)
Public property StateIconIndex Gets the source code control state icon for a file. (Inherited from HierarchyNode.)
Public property Url Gets the absolute path of the subproject. (Overrides HierarchyNode.Url.)
Public property VirtualNodeName The name of a virtual node. (Inherited from HierarchyNode.)
Protected property VirtualProjectFlags Gets the __VSADDVPFLAGS that will be passed in when calling AddVirtualProjectEx.

Top

See Also

Reference

NestedProjectNode Class

Microsoft.VisualStudio.Package Namespace