PageTheme.XPathSelect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides run-time data binding against XML-based data in a theme skin file and returns a node collection that implements the IEnumerable interface.
Overloads
XPathSelect(String) |
Evaluates an XPath data-binding expression and returns a node collection that implements the IEnumerable interface. |
XPathSelect(String, IXmlNamespaceResolver) |
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. |
XPathSelect(String)
Evaluates an XPath data-binding expression and returns a node collection that implements the IEnumerable interface.
protected:
System::Collections::IEnumerable ^ XPathSelect(System::String ^ xPathExpression);
protected System.Collections.IEnumerable XPathSelect (string xPathExpression);
member this.XPathSelect : string -> System.Collections.IEnumerable
Protected Function XPathSelect (xPathExpression As String) As IEnumerable
Parameters
- xPathExpression
- String
The XPath expression to evaluate. For details, see XPathBinder.
Returns
An IEnumerable list of nodes.
Remarks
The XPathSelect method uses the GetDataItem method to resolve the IXPathNavigable object reference that the expression is evaluated against.
See also
Applies to
XPathSelect(String, IXmlNamespaceResolver)
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.
protected:
System::Collections::IEnumerable ^ XPathSelect(System::String ^ xPathExpression, System::Xml::IXmlNamespaceResolver ^ resolver);
protected System.Collections.IEnumerable XPathSelect (string xPathExpression, System.Xml.IXmlNamespaceResolver resolver);
member this.XPathSelect : string * System.Xml.IXmlNamespaceResolver -> System.Collections.IEnumerable
Protected Function XPathSelect (xPathExpression As String, resolver As IXmlNamespaceResolver) As IEnumerable
Parameters
- xPathExpression
- String
The XPath expression to evaluate. For details, see XPathBinder.
- resolver
- IXmlNamespaceResolver
A set of prefix and namespace mappings used to for namespace resolution.
Returns
An IEnumerable list of nodes.
Remarks
The XPathSelect method uses the GetDataItem method to resolve the IXPathNavigable object reference that the expression is evaluated against.