IDataSourceDesigner.GetView Method

Gets the DesignerDataSourceView for the specified view.

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

DesignerDataSourceView^ GetView (
	String^ viewName
)
DesignerDataSourceView GetView (
	String viewName
)
function GetView (
	viewName : String
) : DesignerDataSourceView
Not applicable.

Parameters

viewName

The name of a view in the underlying data source.

Return Value

A DesignerDataSourceView containing information about the identified view, or a null reference (Nothing in Visual Basic) if a view with the specified name is not found.

A class that implements IDataSourceDesigner can define a view in a way that is useful within the context of that class.

Use the GetViewNames method to get a list of view names.

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: