SiteMapDataSourceView.SiteMapDataSourceView(SiteMapDataSource, String, SiteMapNodeCollection) Constructor

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

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

public:
SiteMapDataSourceView (
	SiteMapDataSource^ owner, 
	String^ name, 
	SiteMapNodeCollection^ collection
)
public SiteMapDataSourceView (
	SiteMapDataSource owner, 
	String name, 
	SiteMapNodeCollection collection
)
public function SiteMapDataSourceView (
	owner : SiteMapDataSource, 
	name : String, 
	collection : SiteMapNodeCollection
)
Not applicable.

Parameters

owner

The SiteMapDataSource that the SiteMapDataSourceView is associated with.

name

The name of the view.

collection

A SiteMapNodeCollection of nodes that the SiteMapDataSourceView provides a view of.

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.

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: