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 SiteMapNode type exposes the following members.

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

  NameDescription
Public method Clone Infrastructure. Overloaded. Creates a new node that is a copy of the current node.
Public method Equals Gets a value indicating whether the current SiteMapNode is identical to the specified object. (Overrides Object.Equals(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 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.
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.
Public method GetHashCode Returns the hash code of the SiteMapNode object. (Overrides Object.GetHashCode().)
Public method GetHierarchicalDataSourceView Retrieves the SiteMapHierarchicalDataSourceView object that is associated with the current node.
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.
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.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Converts the value of this instance of the SiteMapNode class to its equivalent string representation. (Overrides Object.ToString().)
Top

  NameDescription
Protected property Attributes Gets or sets a collection of additional attributes beyond the strongly typed properties that are defined for the SiteMapNode class.
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

  NameDescription
Explicit interface implemetation Private method ICloneable.Clone Infrastructure. Creates a new node that is a copy of the current node. For a description of this member, see ICloneable.Clone.
Explicit interface implemetation Private property INavigateUIData.Description Gets the Description property of the site map node. For a description of this member, see INavigateUIData.Description.
Explicit interface implemetation Private method IHierarchyData.GetChildren Retrieves the hierarchical children data items of the current item. For a description of this member, see IHierarchyData.GetChildren.
Explicit interface implemetation Private method IHierarchyData.GetParent Retrieves the hierarchical parent of the current item. For a description of this member, see IHierarchyData.GetParent.
Explicit interface implemetation Private property 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 implemetation Private property IHierarchyData.Item Gets the hierarchical data item. For a description of this member, see IHierarchyData.Item.
Explicit interface implemetation Private property INavigateUIData.Name Gets the Title property of the site map node. For a description of this member, see INavigateUIData.Name.
Explicit interface implemetation Private property INavigateUIData.NavigateUrl Gets the Url property of the site map node. For a description of this member, see INavigateUIData.NavigateUrl.
Explicit interface implemetation Private property IHierarchyData.Path Gets the path of the hierarchical data item. For a description of this member, see IHierarchyData.Path.
Explicit interface implemetation Private property 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 implemetation Private property 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:
© 2014 Microsoft