SiteMapDataSourceView Constructor (SiteMapDataSource, String, SiteMapNodeCollection)

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

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
)

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 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: