SPNavigationNode members
Represents a node in a hierarchical navigation structure for a Microsoft SharePoint Foundation Web site.
The SPNavigationNode type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPNavigationNode(String, String) | Creates a new instance of the SPNavigationNode class that points to a location within the current site collection. | |
SPNavigationNode(String, String, Boolean) | Creates a new instance of the SPNavigationNode class and specifies the display name, locations, and specifies whether the new node is internal or external. | |
SPNavigationNode(String, String, String) | Instantiates a new instance of the class that creates a new internal node. The constructor specifies the node title, title resource string, and URL of the node. |
Top
Properties
Name | Description | |
---|---|---|
Children | Gets child nodes of the navigation node as an SPNavigationNodeCollection object. | |
Id | Gets an integer identifier for the naviagation node. | |
IsDocLib | Gets a Boolean value that specifies whether the navigation node points to a doclib. | |
IsExternal | Gets a Boolean value that specifies whether the navigation node URL corresponds to a page outside the site collection. | |
IsVisible | Gets or sets a Boolean value that specifies whether the navigation node is visible. | |
LastModified | Gets or sets a DateTime value specifying when the node object was last modified. | |
Navigation | Gets or sets the parent navigation object (SPNavigation). | |
Parent | Gets a navigation node object instance (SPNavigationNode) representing the parent node in the hierarchy. | |
ParentId | Gets an integer identifier of the parent node (Parent) in the hierarchy. | |
Properties | Gets a hash table that provides name/value pairs representing the node properties. | |
TargetParentObjectType | Gets an object that represents the SPObjectType of the parent of the file or folder being pointed to by the navigation node. | |
TargetSecurityScopeId | Gets a GUID that represents the ScopeId of the file or folder being pointed to by the navigation node. | |
Title | Gets or sets the string that is used as the anchor text for the node navigation link. | |
TitleResource | Gets an object that represents the SPUserResource that can be used to get or set translations for the navigation node title. | |
Url | Gets or sets the URL stored with the navigation node. |
Top
Methods
Name | Description | |
---|---|---|
Delete | Deletes the navigation node. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Move | Moves the navigation node to the specified collection and to a position in the hierarchy following the specified (previousSibling) node. | |
MoveToFirst | Moves the navigation node to the specified node collection as the first node in the collection hierarchy. | |
MoveToLast | Moves the navigation node to the specified node collection as the last node in the collection hierarchy. | |
ToString | (Inherited from Object.) | |
Update | Updates property changes that have been made to the navigation node. |
Top