ModelDataSource::IDataSource::GetView Method (String^)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns the view.

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

virtual DataSourceView^ GetView(
	String^ viewName
) sealed = IDataSource::GetView


Type: System::String^

The name of the view.

Return Value

Type: System.Web.UI::DataSourceView^

The view.

This member is an explicit interface member implementation. It can be used only when the ModelDataSource instance is cast to an IDataSource interface.

.NET Framework
Available since 4.5
Return to top