TemplateControl.XPathSelect Method (String, IXmlNamespaceResolver)
.NET Framework 3.0
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.
Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
protected public: IEnumerable^ XPathSelect ( String^ xPathExpression, IXmlNamespaceResolver^ resolver )
protected IEnumerable XPathSelect ( String xPathExpression, IXmlNamespaceResolver resolver )
protected internal function XPathSelect ( xPathExpression : String, resolver : IXmlNamespaceResolver ) : IEnumerable
Not applicable.
Parameters
- xPathExpression
The XPath expression to evaluate. For more information, see XPathBinder.
- resolver
A set of prefix and namespace mappings used for namespace resolution.
Return Value
An IEnumerable node list.The XPathSelect method calls the XPathBinder.Select method using the GetDataItem method to resolve the IXPathNavigable object reference that the expression is evaluated against.
Community Additions
ADD
Show: