System.Web.UI.PageTheme.XPathSelect Method

Evaluates an XPath data-binding expression and returns a node collection that implements the IEnumerable interface.

Syntax

protected IEnumerable XPathSelect (string xPathExpression)

Parameters

xPathExpression
The XPath expression to evaluate. For details, see System.Web.UI.XPathBinder.

Returns

An IEnumerable list of nodes.

Remarks

The PageTheme.XPathSelect(string) method uses the Page.GetDataItem method to resolve the System.Xml.XPath.IXPathNavigable object reference that the expression is evaluated against.

Requirements

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