System.Web.UI.TemplateControl.XPathSelect Method

Evaluates an XPath data-binding expression using the specified prefix and namespace mappings for namespace resolution and returns a node collection that implements the IEnumerable interface.

Syntax

protected IEnumerable XPathSelect (string xpathexpression, System.Xml.IXmlNamespaceResolver resolver)

Parameters

xpathexpression
Documentation for this section has not yet been entered.
resolver
A set of prefix and namespace mappings used for namespace resolution.

Returns

An IEnumerable node list.

Remarks

The TemplateControl.XPathSelect(string, System.Xml.IXmlNamespaceResolver) method calls the XPathBinder.Select(object, string, System.Xml.IXmlNamespaceResolver) method using 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