Export (0) Print
Expand All

SiteMapNode Members

Represents a node in the hierarchical site map structure such as that described by the SiteMap class and classes that implement the abstract SiteMapProvider class.

The following tables list the members exposed by the SiteMapNode type.

  Name Description
Public method SiteMapNode Overloaded. Initializes a new instance of the SiteMapNode class and associates it with the specified SiteMapProvider object.
Top

(see also Protected Properties )
  Name Description
Public property ChildNodes Gets or sets all the child nodes of the current SiteMapNode object from the associated SiteMapProvider provider.
Public property Description Gets or sets a description for the SiteMapNode.
Public property HasChildNodes Gets a value indicating whether the current SiteMapNode has any child nodes.
Public property Item Gets or sets a custom attribute from the Attributes collection or a resource string based on the specified key.
Public property Key Gets a string representing a lookup key for a site map node.
Public property NextSibling Gets the next SiteMapNode node on the same hierarchical level as the current one, relative to the ParentNode property (if one exists).
Public property ParentNode Gets or sets the SiteMapNode object that is the parent of the current node.
Public property PreviousSibling Gets the previous SiteMapNode object on the same level as the current one, relative to the ParentNode object (if one exists).
Public property Provider Gets the SiteMapProvider provider that the SiteMapNode object is tracked by.
Public property ReadOnly Gets or sets a value indicating whether the site map node can be modified.
Public property ResourceKey Gets or sets the resource key that is used to localize the SiteMapNode.
Public property Roles Gets or sets a collection of roles that are associated with the SiteMapNode object, used during security trimming.
Public property RootNode Gets the root node of the root provider in a site map provider hierarchy. If no provider hierarchy exists, the RootNode property gets the root node of the current provider.
Public property Title Gets or sets the title of the SiteMapNode object.
Public property Url Gets or sets the URL of the page that the SiteMapNode object represents.
Top

  Name Description
Protected property Attributes Gets or sets a collection of additional attributes beyond the strongly typed properties that are defined for the SiteMapNode class.
Top

(see also Protected Methods )
  Name Description
Public method Clone Overloaded. Creates a new node that is a copy of the current node.
Public method Equals Overloaded. Overridden. Determines whether two objects are equal.
Public method GetAllNodes Retrieves a read-only collection of all SiteMapNode objects that are descendants of the calling node, regardless of the degree of separation.
Public method GetDataSourceView Retrieves the SiteMapDataSourceView object that is associated with the current node.
Public method GetHashCode Overridden. Returns the hash code of the SiteMapNode object.
Public method GetHierarchicalDataSourceView Retrieves the SiteMapHierarchicalDataSourceView object that is associated with the current node.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method IsAccessibleToUser Gets a value indicating whether the specified site map node can be viewed by the user in the specified context.
Public method IsDescendantOf Gets a value indicating whether the current site map node is a child or a direct descendant of the specified node.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overridden. Converts the value of this instance of the SiteMapNode class to its equivalent string representation.
Top

  Name Description
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)
Protected method GetExplicitResourceString Retrieves a localized string based on a SiteMapNode attribute to localize, a default string to return if no resource is found, and a Boolean value indicating whether to throw an exception if no resource is found.
Protected method GetImplicitResourceString Gets a localized string based on the attribute name and ResourceKey property that is specified by the SiteMapProvider by which the SiteMapNode is tracked.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Explicit interface implementation Method System.ICloneable.Clone Creates a new node that is a copy of the current node. For a description of this member, see ICloneable.Clone.
Explicit interface implementation Method System.Web.UI.IHierarchyData.GetChildren Retrieves the hierarchical children data items of the current item. For a description of this member, see IHierarchyData.GetChildren.
Explicit interface implementation Method System.Web.UI.IHierarchyData.GetParent Retrieves the hierarchical parent of the current item. For a description of this member, see IHierarchyData.GetParent.
Explicit interface implementation Property System.Web.UI.IHierarchyData.HasChildren Gets a value that indicates whether the current SiteMapNode object has any child nodes. For a description of this member, see IHierarchyData.HasChildren.
Explicit interface implementation Property System.Web.UI.IHierarchyData.Item Gets the hierarchical data item. For a description of this member, see IHierarchyData.Item.
Explicit interface implementation Property System.Web.UI.IHierarchyData.Path Gets the path of the hierarchical data item. For a description of this member, see IHierarchyData.Path.
Explicit interface implementation Property System.Web.UI.IHierarchyData.Type Gets a string that represents the type name of the hierarchical data item. For a description of this member, see IHierarchyData.Type.
Explicit interface implementation Property System.Web.UI.INavigateUIData.Description Gets the Description property of the site map node. For a description of this member, see INavigateUIData.Description.
Explicit interface implementation Property System.Web.UI.INavigateUIData.Name Gets the Title property of the site map node. For a description of this member, see INavigateUIData.Name.
Explicit interface implementation Property System.Web.UI.INavigateUIData.NavigateUrl Gets the Url property of the site map node. For a description of this member, see INavigateUIData.NavigateUrl.
Explicit interface implementation Property System.Web.UI.INavigateUIData.Value Gets the Title property of the site map node. For a description of this member, see INavigateUIData.Value.
Top

Community Additions

ADD
Show:
© 2015 Microsoft