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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈