ModelDataSourceView.InvokeMethod Method (ModelDataSourceMethod)

.NET Framework (current version)
 
System_CAPS_noteNote

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

Invokes a data method.

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

Protected Overridable Function InvokeMethod (
	method As ModelDataSourceMethod
) As ModelDataMethodResult

Parameters

method
Type: System.Web.UI.WebControls.ModelDataSourceMethod

An object that provides information about the method to be invoked.

Return Value

Type: System.Web.UI.WebControls.ModelDataMethodResult

The result of the data method.

.NET Framework
Available since 4.5
Return to top
Show: