PageTheme.Eval Method
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.
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. |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: