Bewerken

Delen via


SiteMapHierarchicalDataSourceView Constructors

Definition

Initializes a new instance of the SiteMapHierarchicalDataSourceView class.

Overloads

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)

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

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

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

Applies to

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

collection
SiteMapNodeCollection

A SiteMapNodeCollection 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 collection becomes the one the data source view maintains.

See also

Applies to