SiteMapDataSourceView SiteMapDataSourceView SiteMapDataSourceView SiteMapDataSourceView Constructors

Definition

Overloads

SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode)

Initializes a new named instance of the SiteMapDataSourceView class, adding the single specified node to the internal collection of nodes.

SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection)

Initializes a new named instance of the SiteMapDataSourceView class, setting the internal collection of nodes to the specified node collection.

SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode)

Initializes a new named instance of the SiteMapDataSourceView class, adding the single specified node to the internal collection of nodes.

public:
 SiteMapDataSourceView(System::Web::UI::WebControls::SiteMapDataSource ^ owner, System::String ^ name, System::Web::SiteMapNode ^ node);
public SiteMapDataSourceView (System.Web.UI.WebControls.SiteMapDataSource owner, string name, System.Web.SiteMapNode node);
new System.Web.UI.WebControls.SiteMapDataSourceView : System.Web.UI.WebControls.SiteMapDataSource * string * System.Web.SiteMapNode -> System.Web.UI.WebControls.SiteMapDataSourceView
Public Sub New (owner As SiteMapDataSource, name As String, node As SiteMapNode)

Parameters

name
String String String String

The name of the view.

Remarks

The SiteMapDataSourceView class is a wrapper class on a SiteMapNodeCollection object. Creating a SiteMapDataSourceView using the SiteMapDataSourceView constructor initializes the internal node collection with a single SiteMapNode object. The site map structure is navigated using the node as a point of reference.

See also

SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection) SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection)

Initializes a new named instance of the SiteMapDataSourceView class, setting the internal collection of nodes to the specified node collection.

public:
 SiteMapDataSourceView(System::Web::UI::WebControls::SiteMapDataSource ^ owner, System::String ^ name, System::Web::SiteMapNodeCollection ^ collection);
public SiteMapDataSourceView (System.Web.UI.WebControls.SiteMapDataSource owner, string name, System.Web.SiteMapNodeCollection collection);
new System.Web.UI.WebControls.SiteMapDataSourceView : System.Web.UI.WebControls.SiteMapDataSource * string * System.Web.SiteMapNodeCollection -> System.Web.UI.WebControls.SiteMapDataSourceView
Public Sub New (owner As SiteMapDataSource, name As String, collection As SiteMapNodeCollection)

Parameters

name
String String String String

The name of the view.

Remarks

The SiteMapDataSourceView class is a wrapper class on a SiteMapNodeCollection object. Creating a SiteMapDataSourceView using the SiteMapDataSourceView constructor initializes the internal node collection with the SiteMapNodeCollection that is passed to the constructor.

See also

Applies to