SiteMapDataSource.GetViewNames Method
.NET Framework 3.0
Retrieves a collection of named views for the data source control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public ICollection GetViewNames ()
public function GetViewNames () : ICollection
Not applicable.
Return Value
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 a null reference (Nothing in Visual Basic) so that the ContainsListCollection method returns true.
Note: |
|---|
| If you are not familiar with the data access features in ASP.NET 2.0, you might find it useful to review the following topics before continuing: |
Community Additions
ADD
Show:
Note: