Επεξεργασία

Κοινή χρήση μέσω


IDataSourceDesigner.GetView(String) Method

Definition

Gets the DesignerDataSourceView for the specified view.

public:
 System::Web::UI::Design::DesignerDataSourceView ^ GetView(System::String ^ viewName);
public System.Web.UI.Design.DesignerDataSourceView GetView (string viewName);
abstract member GetView : string -> System.Web.UI.Design.DesignerDataSourceView
Public Function GetView (viewName As String) As DesignerDataSourceView

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

See also