Skip to main content
Tab

UnboundSiteMapProviderBase.CreateNode(String, String, String, IList, NameValueCollection) Method

Creates a new instance of the UnboundSiteMapNode class with the specified settings.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public UnboundSiteMapNode CreateNode(
    string url,
    string title,
    string description,
    IList roles,
    NameValueCollection attributes
)

Parameters

Name Type Description
url String

A string value specifying the URL of the newly created node.

title String

A string value specifying the title of the newly created node.

description String

A string value specifying the description of the newly created node.

roles IList

An IList-supported object that specifies the list of roles for which the page represented by the created node is available.

attributes NameValueCollection

A NameValueCollection of additional attributes used to initialize the created node.

Returns

Type Description
UnboundSiteMapNode

An UnboundSiteMapNode object that represents the newly created site map node.

Remarks

The CreateNode method can be used to create a new UnboundSiteMapNode class instance and initialize it with the specified URL, title, description, roles list and a set of additional attributes.

See Also