SiteMapHierarchicalDataSourceView SiteMapHierarchicalDataSourceView SiteMapHierarchicalDataSourceView SiteMapHierarchicalDataSourceView Constructors

Definition

Overloads

SiteMapHierarchicalDataSourceView(SiteMapNode) SiteMapHierarchicalDataSourceView(SiteMapNode) SiteMapHierarchicalDataSourceView(SiteMapNode) SiteMapHierarchicalDataSourceView(SiteMapNode)

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

SiteMapHierarchicalDataSourceView(SiteMapNodeCollection) SiteMapHierarchicalDataSourceView(SiteMapNodeCollection) SiteMapHierarchicalDataSourceView(SiteMapNodeCollection) SiteMapHierarchicalDataSourceView(SiteMapNodeCollection)

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

SiteMapHierarchicalDataSourceView(SiteMapNode) SiteMapHierarchicalDataSourceView(SiteMapNode) SiteMapHierarchicalDataSourceView(SiteMapNode) SiteMapHierarchicalDataSourceView(SiteMapNode)

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

public:
 SiteMapHierarchicalDataSourceView(System::Web::SiteMapNode ^ node);
public SiteMapHierarchicalDataSourceView (System.Web.SiteMapNode node);
new System.Web.UI.WebControls.SiteMapHierarchicalDataSourceView : System.Web.SiteMapNode -> System.Web.UI.WebControls.SiteMapHierarchicalDataSourceView
Public Sub New (node As SiteMapNode)

Parameters

node
SiteMapNode SiteMapNode SiteMapNode SiteMapNode

A SiteMapNode that the data source view represents.

Remarks

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.

See also

SiteMapHierarchicalDataSourceView(SiteMapNodeCollection) SiteMapHierarchicalDataSourceView(SiteMapNodeCollection) SiteMapHierarchicalDataSourceView(SiteMapNodeCollection) SiteMapHierarchicalDataSourceView(SiteMapNodeCollection)

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

public:
 SiteMapHierarchicalDataSourceView(System::Web::SiteMapNodeCollection ^ collection);
public SiteMapHierarchicalDataSourceView (System.Web.SiteMapNodeCollection collection);
new System.Web.UI.WebControls.SiteMapHierarchicalDataSourceView : System.Web.SiteMapNodeCollection -> System.Web.UI.WebControls.SiteMapHierarchicalDataSourceView
Public Sub New (collection As SiteMapNodeCollection)

Parameters

Remarks

The SiteMapHierarchicalDataSourceView class maintains an internal SiteMapNodeCollection collection of nodes. When the SiteMapHierarchicalDataSourceView constructor is used, the specified collection becomes the one the data source view maintains.

See also

Applies to