Rediger

Del via


PageTheme.Eval Method

Definition

Uses the Eval method of the Page control that the instance of the PageTheme class is associated with to evaluate a data-binding expression.

Overloads

Eval(String)

Uses the Eval(Object, String) method of the Page property that the instance of the PageTheme class is associated with to evaluate a data-binding expression.

Eval(String, String)

Uses the Eval(Object, String, String) method of the Page property that the instance of the PageTheme class is associated with to evaluate a data-binding expression.

Eval(String)

Uses the Eval(Object, String) method of the Page property that the instance of the PageTheme class is associated with to evaluate a data-binding expression.

protected:
 System::Object ^ Eval(System::String ^ expression);
protected object Eval (string expression);
member this.Eval : string -> obj
Protected Function Eval (expression As String) As Object

Parameters

expression
String

The navigation path from the container to the public property value. For details, see DataBinder.

Returns

An object that results from the evaluation of the data-binding expression.

Remarks

The Eval method uses the GetDataItem method to resolve the data item container.

Applies to

Eval(String, String)

Uses the Eval(Object, String, String) method of the Page property that the instance of the PageTheme class is associated with to evaluate a data-binding expression.

protected:
 System::String ^ Eval(System::String ^ expression, System::String ^ format);
protected string Eval (string expression, string format);
member this.Eval : string * string -> string
Protected Function Eval (expression As String, format As String) As String

Parameters

expression
String

The navigation path from the container to the public property value. For details, see DataBinder.

format
String

A .NET Framework format string. For details, see DataBinder.

Returns

A string that results from the evaluation of the data-binding expression and conversion to a string type.

Remarks

The Eval method uses the GetDataItem method to resolve the data item container.

Applies to