System.Web.UI.Design.IDataSourceDesigner.GetView Method

Gets the System.Web.UI.Design.DesignerDataSourceView for the specified view.

Syntax

public DesignerDataSourceView GetView (string viewName)

Parameters

viewName
The name of a view in the underlying data source.

Returns

A System.Web.UI.Design.DesignerDataSourceView containing information about the identified view, or null if a view with the specified name is not found.

Remarks

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

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

Requirements

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