SiteMapDataSourceDesigner.GetViewNames Method

Gets an array of names representing named views in the data source.

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

public:
virtual array<String^>^ GetViewNames ()
public String[] GetViewNames ()
public function GetViewNames () : String[]
Not applicable.

Return Value

This implementation always returns an empty string array.

Named views are not implemented in this data source designer. Views are retrieved based on an XPath query rather than name.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: