SPNavigationNode Members

Include Protected Members
Include Inherited Members

This object represents the URL to a specific navigation node in an arbitrary hierarchy and provides methods for manipulating the position of the node and properties for setting node characteristics.

The SPNavigationNode type exposes the following members.

Constructors

  Name Description
Public method SPNavigationNode(String, String) Instantiates a new instance of the class that creates a new external node. The constructor specifies the node title, or display name, and URL of the node.
Public method SPNavigationNode(String, String, Boolean) Instantiates a new instance of the class that creates a new node. The constructor specifies the node title, or display name, and URL of the node, and specifies whether the new node is internal or external.

Top

Properties

  Name Description
Public property Children Gets child nodes of the navigation node as an SPNavigationNodeCollection object.
Public property Id Gets an integer identifier for the naviagation node.
Public property IsExternal Gets a Boolean value that specifies whether the navigation node URL corresponds to a page outside the site collection.
Public property IsVisible Gets or sets a Boolean value that specifies whether the navigation node is visible.
Public property LastModified Gets or sets a DateTime value specifying when the node object was last modified.
Public property Navigation Gets or sets the parent navigation object (SPNavigation).
Public property Parent Gets a navigation node object instance (SPNavigationNode) representing the parent node in the hierarchy.
Public property ParentId Gets an integer identifier of the parent node (Parent) in the hierarchy.
Public property Properties Gets a hash table that provides name/value pairs representing the node properties.
Public property Title Gets or sets the string used as the anchor text for the node navigation link.
Public property Url Gets or sets the URL stored with the navigation node.

Top

Methods

  Name Description
Public method Delete Deletes the navigation node.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Move Moves the navigation node to the specified collection and to a position in the hierarchy following the specified (previousSibling) node.
Public method MoveToFirst Moves the navigation node to the specified node collection as the first node in the collection hierarchy.
Public method MoveToLast Moves the navigation node to the specified node collection as the last node in the collection hierarchy.
Public method ToString (Inherited from Object.)
Public method Update Updates property changes that have been made to the navigation node.

Top

See Also

Reference

SPNavigationNode Class

Microsoft.SharePoint.Navigation Namespace