Export (0) Print
Expand All

XmlSiteMapProvider Methods

The XmlSiteMapProvider type exposes the following members.

  NameDescription
Protected method AddNode(SiteMapNode) Adds a SiteMapNode object to the node collection that is maintained by the site map provider. (Inherited from SiteMapProvider.)
Protected method AddNode(SiteMapNode, SiteMapNode) Adds a SiteMapNode object to the collections that are maintained by the current provider. (Overrides StaticSiteMapProvider.AddNode(SiteMapNode, SiteMapNode).)
Protected method AddProvider Links a child site map provider to the current provider.
Public method BuildSiteMap Loads the site map information from an XML file and builds it in memory. (Overrides StaticSiteMapProvider.BuildSiteMap().)
Protected method Clear Removes all elements in the collections of child and parent site map nodes and site map providers that the XmlSiteMapProvider object internally tracks as part of its state. (Overrides StaticSiteMapProvider.Clear().)
Public method Dispose() Infrastructure. Notifies the file monitor of the Web.sitemap file that the XmlSiteMapProvider object no longer requires the file to be monitored.
Protected method Dispose(Boolean) Notifies the file monitor of the Web.sitemap file that the XmlSiteMapProvider object no longer requires the file to be monitored. The Dispose method takes a Boolean parameter indicating whether the method is called by user code.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FindSiteMapNode(HttpContext) Retrieves a SiteMapNode object that represents the currently requested page using the specified HttpContext object. (Inherited from SiteMapProvider.)
Public method FindSiteMapNode(String) Retrieves a SiteMapNode object that represents the page at the specified URL. (Overrides StaticSiteMapProvider.FindSiteMapNode(String).)
Public method FindSiteMapNodeFromKey Retrieves a SiteMapNode object based on a specified key. (Overrides StaticSiteMapProvider.FindSiteMapNodeFromKey(String).)
Public method GetChildNodes Retrieves the child site map nodes of a specific SiteMapNode object. (Inherited from StaticSiteMapProvider.)
Public method GetCurrentNodeAndHintAncestorNodes Provides an optimized lookup method for site map providers when retrieving the node for the currently requested page and fetching the parent and ancestor site map nodes for the current page. (Inherited from SiteMapProvider.)
Public method GetCurrentNodeAndHintNeighborhoodNodes Provides an optimized lookup method for site map providers when retrieving the node for the currently requested page and fetching the site map nodes in the proximity of the current node. (Inherited from SiteMapProvider.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetParentNode Retrieves the parent site map node of a specific SiteMapNode object. (Inherited from StaticSiteMapProvider.)
Public method GetParentNodeRelativeToCurrentNodeAndHintDownFromParent Provides an optimized lookup method for site map providers when retrieving an ancestor node for the currently requested page and fetching the descendant nodes for the ancestor. (Inherited from SiteMapProvider.)
Public method GetParentNodeRelativeToNodeAndHintDownFromParent Provides an optimized lookup method for site map providers when retrieving an ancestor node for the specified SiteMapNode object and fetching its child nodes. (Inherited from SiteMapProvider.)
Protected method GetRootNodeCore Retrieves the top-level node of the current site map data structure. (Overrides SiteMapProvider.GetRootNodeCore().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HintAncestorNodes Provides a method that site map providers can override to perform an optimized retrieval of one or more levels of parent and ancestor nodes, relative to the specified SiteMapNode object. (Inherited from SiteMapProvider.)
Public method HintNeighborhoodNodes Provides a method that site map providers can override to perform an optimized retrieval of nodes found in the proximity of the specified node. (Inherited from SiteMapProvider.)
Public method Initialize Initializes the XmlSiteMapProvider object. The Initialize method does not actually build a site map, it only prepares the state of the XmlSiteMapProvider to do so. (Overrides SiteMapProvider.Initialize(String, NameValueCollection).)
Public method IsAccessibleToUser Retrieves a Boolean value indicating whether the specified SiteMapNode object can be viewed by the user in the specified context. (Inherited from SiteMapProvider.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method RemoveNode Removes the specified SiteMapNode object from all node collections that are tracked by the provider. (Overrides StaticSiteMapProvider.RemoveNode(SiteMapNode).)
Protected method RemoveProvider Removes a linked child site map provider from the hierarchy for the current provider.
Protected method ResolveSiteMapNode Raises the SiteMapResolve event. (Inherited from SiteMapProvider.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft