IDataSourceDesigner.GetView Method (String)

 

Gets the DesignerDataSourceView for the specified view.

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

DesignerDataSourceView GetView(
	string viewName
)

Parameters

viewName
Type: System.String

The name of a view in the underlying data source.

Return Value

Type: System.Web.UI.Design.DesignerDataSourceView

A DesignerDataSourceView containing information about the identified view, or null 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.

.NET Framework
Available since 2.0
Return to top
Show: