SiteMapDataSourceView.SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNode) Constructor

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

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

public:
SiteMapDataSourceView (
	SiteMapDataSource^ owner, 
	String^ name, 
	SiteMapNode^ node
)
public SiteMapDataSourceView (
	SiteMapDataSource owner, 
	String name, 
	SiteMapNode node
)
public function SiteMapDataSourceView (
	owner : SiteMapDataSource, 
	name : String, 
	node : SiteMapNode
)
Not applicable.

Parameters

owner

The SiteMapDataSource that the SiteMapDataSourceView is associated with.

name

The name of the view.

node

The SiteMapNode to add to the internal SiteMapNodeCollection.

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: