TemplateControl.XPathSelect Method (String, IXmlNamespaceResolver)
.NET Framework 2.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)
'Declaration Protected Friend Function XPathSelect ( _ xPathExpression As String, _ resolver As IXmlNamespaceResolver _ ) As IEnumerable 'Usage Dim xPathExpression As String Dim resolver As IXmlNamespaceResolver Dim returnValue As IEnumerable returnValue = Me.XPathSelect(xPathExpression, 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: