This topic has not yet been rated - Rate this topic

SiteMapDataSource.System.Web.UI.IDataSource.GetViewNames Method

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

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

For a description of this member, see GetViewNames.

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

ICollection IDataSource.GetViewNames ()
J# supports the use of explicit interface implementations, but not the declaration of new ones.
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

An ICollection of named SiteMapDataSourceView objects associated with the SiteMapDataSource. Because the SiteMapDataSource supports only one named view, the GetViewNames returns a collection containing one element set to String.Empty.

This member is an explicit interface member implementation. It can be used only when the SiteMapDataSource instance is cast to an IDataSource interface.

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
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.