SiteMapNode Members
.NET Framework 2.0
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 | |
|---|---|---|
| SiteMapNode | Overloaded. Initializes a new instance of the SiteMapNode class and associates it with the specified SiteMapProvider object. |
(see also
Protected Properties
)
Top
| Name | Description | |
|---|---|---|
| ChildNodes | Gets or sets all the child nodes of the current SiteMapNode object from the associated SiteMapProvider provider. |
| Description | Gets or sets a description for the SiteMapNode. |
| HasChildNodes | Gets a value indicating whether the current SiteMapNode has any child nodes. |
| Item | Gets or sets a custom attribute from the Attributes collection or a resource string based on the specified key. |
| Key | Gets a string representing a lookup key for a site map node. |
| NextSibling | Gets the next SiteMapNode node on the same hierarchical level as the current one, relative to the ParentNode property (if one exists). |
| ParentNode | Gets or sets the SiteMapNode object that is the parent of the current node. |
| PreviousSibling | Gets the previous SiteMapNode object on the same level as the current one, relative to the ParentNode object (if one exists). |
| Provider | Gets the SiteMapProvider provider that the SiteMapNode object is tracked by. |
| ReadOnly | Gets or sets a value indicating whether the site map node can be modified. |
| ResourceKey | Gets or sets the resource key that is used to localize the SiteMapNode. |
| Roles | Gets or sets a collection of roles that are associated with the SiteMapNode object, used during security trimming. |
| 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. |
| Title | Gets or sets the title of the SiteMapNode object. |
| Url | Gets or sets the URL of the page that the SiteMapNode object represents. |
| Name | Description | |
|---|---|---|
| Attributes | Gets or sets a collection of additional attributes beyond the strongly typed properties that are defined for the SiteMapNode class. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Clone | Overloaded. Creates a new node that is a copy of the current node. |
| Equals | Overloaded. Overridden. Determines whether two objects are equal. |
| GetAllNodes | Retrieves a read-only collection of all SiteMapNode objects that are descendants of the calling node, regardless of the degree of separation. |
| GetDataSourceView | Retrieves the SiteMapDataSourceView object that is associated with the current node. |
| GetHashCode | Overridden. Returns the hash code of the SiteMapNode object. |
| GetHierarchicalDataSourceView | Retrieves the SiteMapHierarchicalDataSourceView object that is associated with the current node. |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| IsAccessibleToUser | Gets a value indicating whether the specified site map node can be viewed by the user in the specified context. |
| IsDescendantOf | Gets a value indicating whether the current site map node is a child or a direct descendant of the specified node. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Overridden. Converts the value of this instance of the SiteMapNode class to its equivalent string representation. |
| Name | Description | |
|---|---|---|
| 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.) |
| 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. |
| 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. |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| System.ICloneable.Clone | Creates a new node that is a copy of the current node. For a description of this member, see ICloneable.Clone. |
| System.Web.UI.IHierarchyData.GetChildren | Retrieves the hierarchical children data items of the current item. For a description of this member, see IHierarchyData.GetChildren. |
| System.Web.UI.IHierarchyData.GetParent | Retrieves the hierarchical parent of the current item. For a description of this member, see IHierarchyData.GetParent. |
| 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. |
| System.Web.UI.IHierarchyData.Item | Gets the hierarchical data item. For a description of this member, see IHierarchyData.Item. |
| System.Web.UI.IHierarchyData.Path | Gets the path of the hierarchical data item. For a description of this member, see IHierarchyData.Path. |
| 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. |
| System.Web.UI.INavigateUIData.Description | Gets the Description property of the site map node. For a description of this member, see INavigateUIData.Description. |
| System.Web.UI.INavigateUIData.Name | Gets the Title property of the site map node. For a description of this member, see INavigateUIData.Name. |
| System.Web.UI.INavigateUIData.NavigateUrl | Gets the Url property of the site map node. For a description of this member, see INavigateUIData.NavigateUrl. |
| System.Web.UI.INavigateUIData.Value | Gets the Title property of the site map node. For a description of this member, see INavigateUIData.Value. |
Community Additions
ADD
Show: