SiteMapDataSource::GetViewNames Method ()
.NET Framework (current version)
Retrieves a collection of named views for the data source control.
Assembly: System.Web (in System.Web.dll)
Return Value
Type: System.Collections::ICollection^An ICollection of named SiteMapDataSourceView objects associated with the SiteMapDataSource. Because the SiteMapDataSource supports only one named view, the GetViewNames method returns an ICollection with one String::Empty element.
The GetViewNames method returns a collection with one element (the default name) instead of null so that the ContainsListCollection method returns true.
.NET Framework
Available since 2.0
Available since 2.0
Show: