System.Web.SiteMapNode: Method Members

The methods of System.Web.SiteMapNode are listed below. For a list of all members, see the SiteMapNode Members list.

See Also: Inherited members from System.Object

Public Methods

Clone() : SiteMapNode

Creates a new node that is a copy of the current node.

Clone(bool) : SiteMapNode

Creates a new copy that is a copy of the current node, optionally cloning all parent and ancestor nodes of the current node.

override
Equals(object) : bool

Gets a value indicating whether the current System.Web.SiteMapNode is identical to the specified object.

GetAllNodes() : SiteMapNodeCollection

Retrieves a read-only collection of all System.Web.SiteMapNode objects that are descendants of the calling node, regardless of the degree of separation.

GetDataSourceView(System.Web.UI.WebControls.SiteMapDataSource, string) : System.Web.UI.WebControls.SiteMapDataSourceView

Retrieves the System.Web.UI.WebControls.SiteMapDataSourceView object that is associated with the current node.

override
GetHashCode() : int

Returns the hash code of the System.Web.SiteMapNode object.

GetHierarchicalDataSourceView() : System.Web.UI.WebControls.SiteMapHierarchicalDataSourceView

Retrieves the System.Web.UI.WebControls.SiteMapHierarchicalDataSourceView object that is associated with the current node.

IsAccessibleToUser(HttpContext) : bool

Gets a value indicating whether the specified site map node can be viewed by the user in the specified context.

IsDescendantOf(SiteMapNode) : bool

Gets a value indicating whether the current site map node is a child or a direct descendant of the specified node.

override
ToString() : string

Converts the value of this instance of the System.Web.SiteMapNode class to its equivalent string representation.

Protected Methods

GetExplicitResourceString(string, string, bool) : string

Retrieves a localized string based on a System.Web.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.

GetImplicitResourceString(string) : string

Gets a localized string based on the attribute name and SiteMapProvider.ResourceKey property that is specified by the System.Web.SiteMapProvider by which the System.Web.SiteMapNode is tracked.