System.Web.UI.PageTheme.Eval Method

Uses the DataBinder.Eval(object, string) method of the PageTheme.Page property that the instance of the System.Web.UI.PageTheme class is associated with to evaluate a data-binding expression.

Syntax

protected object Eval (string expression)

Parameters

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

Returns

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

Remarks

The erload:System.Web.UI.PageTheme.Eval method uses the Page.GetDataItem method to resolve the data item container.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0