SiteMapDataSourceView Constructor (SiteMapDataSource, String, SiteMapNode)

Note: This constructor is new in the .NET Framework version 2.0.

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
)

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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: