Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ModelDataSourceView.FindMethod Method

.NET Framework 4.6 and 4.5

Finds the method to be executed.

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

abstract FindMethod : 
        methodName:string -> ModelDataSourceMethod  
override FindMethod : 
        methodName:string -> ModelDataSourceMethod


Type: System.String

The name of the method to be executed.

Return Value

Type: System.Web.UI.WebControls.ModelDataSourceMethod
A ModelDataSourceMethod object with the Instance and MethodInfo properties set. The Parameters collection of the ModelDataSourceMethod object is still empty when this method returns.


The CallingDataMethodsEventArgs.DataMethodsObject property and the CallingDataMethodsEventArgs.DataMethodsType property both have values, or the specified method was not found.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft