ModelDataSourceView.FindMethod(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds the method to be executed.
protected:
virtual System::Web::UI::WebControls::ModelDataSourceMethod ^ FindMethod(System::String ^ methodName);
protected virtual System.Web.UI.WebControls.ModelDataSourceMethod FindMethod (string methodName);
abstract member FindMethod : string -> System.Web.UI.WebControls.ModelDataSourceMethod
override this.FindMethod : string -> System.Web.UI.WebControls.ModelDataSourceMethod
Protected Overridable Function FindMethod (methodName As String) As ModelDataSourceMethod
Parameters
- methodName
- String
The name of the method to be executed.
Returns
A ModelDataSourceMethod object with the Instance and MethodInfo properties set. The Parameters collection of the ModelDataSourceMethod object is still empty when this method returns.
Exceptions
The DataMethodsObject property and the DataMethodsType property both have values, or the specified method was not found.