System.Web.UI.WebControls.SiteMapDataSource Members

The members of System.Web.UI.WebControls.SiteMapDataSource are listed below.

See Also: Inherited members from System.Web.UI.HierarchicalDataSourceControl

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.SiteMapDataSource class.

Public Properties

[read-only]
ContainsListCollectionbool.

Gets a value indicating whether the data source control contains a collection of data source view objects.

ProviderSystem.Web.SiteMapProvider.

Gets or sets a System.Web.SiteMapProvider object that is associated with the data source control.

ShowStartingNodebool.

Gets or sets a value indicating whether the starting node is retrieved and displayed.

SiteMapProviderstring.

Gets or sets the name of the site map provider that the data source binds to.

StartFromCurrentNodebool.

Gets or sets a value indicating whether the site map node tree is retrieved using the node that represents the current page.

StartingNodeOffsetint.

Gets or sets a positive or negative integer offset from the starting node that determines the root hierarchy that is exposed by the data source control.

StartingNodeUrlstring.

Gets or sets a node in the site map that the data source then uses as a reference point to retrieve nodes from a hierarchical site map.

Public Methods

GetList() : IList

Retrieves a list of data source controls that can be used as sources of lists of data.

GetView(string) : System.Web.UI.DataSourceView

Retrieves a named view on the site map data of the site map provider according to the starting node and other properties of the data source.

GetViewNames() : ICollection

Retrieves a collection of named views for the data source control.

Protected Methods

override
GetHierarchicalView(string) : System.Web.UI.HierarchicalDataSourceView

Retrieves a single view on the site map data for the System.Web.SiteMapProvider object according to the starting node and other properties of the data source.

Explicitly Implemented Interface Members

[read-only]
System.ComponentModel.IListSource.ContainsListCollectionbool.

Gets a value that indicates whether the collection is a collection of IList objects.

System.ComponentModel.IListSource.GetList

For a description of this member, see System.ComponentModel.IListSource.GetList.

System.Web.UI.IDataSource.GetView

For a description of this member, see System.Web.UI.IDataSource.GetView(string).

System.Web.UI.IDataSource.GetViewNames

For a description of this member, see System.Web.UI.IDataSource.GetViewNames.