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.
See also
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기