This documentation is archived and is not being maintained.
SiteMapNode Members
Visual Studio 2008
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.
| Name | Description | |
|---|---|---|
|
SiteMapNode | Overloaded. Initializes a new instance of the SiteMapNode class and associates it with the specified SiteMapProvider object. |
| Name | Description | |
|---|---|---|
|
Clone | Infrastructure. Overloaded. Creates a new node that is a copy of the current node. |
|
Equals | Gets a value indicating whether the current SiteMapNode is identical to the specified object. (Overrides Object::Equals(Object).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
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. |
|
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. |
|
GetHashCode | Returns the hash code of the SiteMapNode object. (Overrides Object::GetHashCode().) |
|
GetHierarchicalDataSourceView | Retrieves the SiteMapHierarchicalDataSourceView object that is associated with the current node. |
|
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. |
|
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. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Converts the value of this instance of the SiteMapNode class to its equivalent string representation. (Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
|
Attributes | Gets or sets a collection of additional attributes beyond the strongly typed properties that are defined for the SiteMapNode class. |
|
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 | |
|---|---|---|
|
ICloneable::Clone | Infrastructure. Creates a new node that is a copy of the current node. For a description of this member, see ICloneable::Clone. |
|
INavigateUIData::Description | Gets the Description property of the site map node. For a description of this member, see INavigateUIData::Description. |
|
IHierarchyData::GetChildren | Retrieves the hierarchical children data items of the current item. For a description of this member, see IHierarchyData::GetChildren. |
|
IHierarchyData::GetParent | Retrieves the hierarchical parent of the current item. For a description of this member, see IHierarchyData::GetParent. |
|
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. |
|
IHierarchyData::Item | Gets the hierarchical data item. For a description of this member, see IHierarchyData::Item. |
|
INavigateUIData::Name | Gets the Title property of the site map node. For a description of this member, see INavigateUIData::Name. |
|
INavigateUIData::NavigateUrl | Gets the Url property of the site map node. For a description of this member, see INavigateUIData::NavigateUrl. |
|
IHierarchyData::Path | Gets the path of the hierarchical data item. For a description of this member, see IHierarchyData::Path. |
|
IHierarchyData::Type | Gets a string that represents the type name of the hierarchical data item. For a description of this member, see IHierarchyData::Type. |
|
INavigateUIData::Value | Gets the Title property of the site map node. For a description of this member, see INavigateUIData::Value. |
Show: