IDataSourceDesigner.GetView(String) Method

Definition

Gets the DesignerDataSourceView for the specified view.

C#
public System.Web.UI.Design.DesignerDataSourceView GetView(string viewName);

Parameters

viewName
String

The name of a view in the underlying data source.

Returns

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

Remarks

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.

Applies to

Produto Versións
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also