SiteMapHierarchicalDataSourceView Constructor (SiteMapNode^)

 

Initializes a new instance of the SiteMapHierarchicalDataSourceView class, adding the specified node to the IHierarchicalEnumerable collection that the data source view maintains.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
SiteMapHierarchicalDataSourceView(
	SiteMapNode^ node
)

Parameters

node
Type: System.Web::SiteMapNode^

A SiteMapNode that the data source view represents.

The SiteMapHierarchicalDataSourceView class maintains an internal SiteMapNodeCollection collection of nodes. When the SiteMapHierarchicalDataSourceView constructor is used, the specified node is added to the collection. A call to the Select method will return this collection of one element.

.NET Framework
Available since 2.0
Return to top
Show: