Uredi

Deli z drugimi prek


ModelDataSourceView.EvaluateMethodParameters Method

Definition

Evaluates the method parameters for model binding.

Overloads

EvaluateMethodParameters(DataSourceOperation, ModelDataSourceMethod, IDictionary)

Evaluates the method parameters for model binding, using the data source operation, the data source method object, and the control values.

EvaluateMethodParameters(DataSourceOperation, ModelDataSourceMethod, IDictionary, Boolean)

Evaluates the method parameters for model binding, using the data source operation, the data source method object, the control values, and a value that indicates whether this method is called in the page's LoadComplete event handler.

EvaluateMethodParameters(DataSourceOperation, ModelDataSourceMethod, IDictionary)

Evaluates the method parameters for model binding, using the data source operation, the data source method object, and the control values.

protected:
 virtual void EvaluateMethodParameters(System::Web::UI::DataSourceOperation dataSourceOperation, System::Web::UI::WebControls::ModelDataSourceMethod ^ modelDataSourceMethod, System::Collections::IDictionary ^ controlValues);
protected virtual void EvaluateMethodParameters (System.Web.UI.DataSourceOperation dataSourceOperation, System.Web.UI.WebControls.ModelDataSourceMethod modelDataSourceMethod, System.Collections.IDictionary controlValues);
abstract member EvaluateMethodParameters : System.Web.UI.DataSourceOperation * System.Web.UI.WebControls.ModelDataSourceMethod * System.Collections.IDictionary -> unit
override this.EvaluateMethodParameters : System.Web.UI.DataSourceOperation * System.Web.UI.WebControls.ModelDataSourceMethod * System.Collections.IDictionary -> unit
Protected Overridable Sub EvaluateMethodParameters (dataSourceOperation As DataSourceOperation, modelDataSourceMethod As ModelDataSourceMethod, controlValues As IDictionary)

Parameters

dataSourceOperation
DataSourceOperation

The data source operation for which the parameters are being evaluated.

modelDataSourceMethod
ModelDataSourceMethod

The method object for which the parameters are being evaluated.

controlValues
IDictionary

The values from the data-bound control.

Remarks

This method calls the ModelDataSourceView.EvaluateMethodParameters(DataSourceOperation, ModelDataSourceMethod, IDictionary, Boolean) overload with the isPageLoadComplete parameter set to false.

Applies to

EvaluateMethodParameters(DataSourceOperation, ModelDataSourceMethod, IDictionary, Boolean)

Evaluates the method parameters for model binding, using the data source operation, the data source method object, the control values, and a value that indicates whether this method is called in the page's LoadComplete event handler.

protected:
 virtual void EvaluateMethodParameters(System::Web::UI::DataSourceOperation dataSourceOperation, System::Web::UI::WebControls::ModelDataSourceMethod ^ modelDataSourceMethod, System::Collections::IDictionary ^ controlValues, bool isPageLoadComplete);
protected virtual void EvaluateMethodParameters (System.Web.UI.DataSourceOperation dataSourceOperation, System.Web.UI.WebControls.ModelDataSourceMethod modelDataSourceMethod, System.Collections.IDictionary controlValues, bool isPageLoadComplete);
abstract member EvaluateMethodParameters : System.Web.UI.DataSourceOperation * System.Web.UI.WebControls.ModelDataSourceMethod * System.Collections.IDictionary * bool -> unit
override this.EvaluateMethodParameters : System.Web.UI.DataSourceOperation * System.Web.UI.WebControls.ModelDataSourceMethod * System.Collections.IDictionary * bool -> unit
Protected Overridable Sub EvaluateMethodParameters (dataSourceOperation As DataSourceOperation, modelDataSourceMethod As ModelDataSourceMethod, controlValues As IDictionary, isPageLoadComplete As Boolean)

Parameters

dataSourceOperation
DataSourceOperation

The data source operation for which the parameters are being evaluated.

modelDataSourceMethod
ModelDataSourceMethod

The method object for which the parameters are being evaluated.

controlValues
IDictionary

The values from the data-bound control.

isPageLoadComplete
Boolean

Set to true if this method is called in the page's LoadComplete event handler, and if it is called to evaluate the select method parameters, and if custom value providers are being used. This makes it possible to identify changes in the custom value providers in order to mark the data-bound control for data binding if necessary.

Applies to