PageTheme.XPathSelect メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
テーマ スキン ファイル内の XML ベースのデータに対するランタイム データ バインディングを提供し、 IEnumerable インターフェイスを実装するノード コレクションを返します。
オーバーロード
| 名前 | 説明 |
|---|---|
| XPathSelect(String) |
XPath データ バインディング式を評価し、 IEnumerable インターフェイスを実装するノード コレクションを返します。 |
| XPathSelect(String, IXmlNamespaceResolver) |
名前空間解決のために指定したプレフィックスと名前空間マッピングを使用して XPath データ バインディング式を評価し、 IEnumerable インターフェイスを実装するノード コレクションを返します。 |
XPathSelect(String)
XPath データ バインディング式を評価し、 IEnumerable インターフェイスを実装するノード コレクションを返します。
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
パラメーター
- xPathExpression
- String
評価する XPath 式。 詳細については、 XPathBinderを参照してください。
返品
ノードの IEnumerable リスト。
注釈
XPathSelect メソッドは、GetDataItem メソッドを使用して、式が評価されるIXPathNavigable オブジェクト参照を解決します。
こちらもご覧ください
適用対象
XPathSelect(String, IXmlNamespaceResolver)
名前空間解決のために指定したプレフィックスと名前空間マッピングを使用して XPath データ バインディング式を評価し、 IEnumerable インターフェイスを実装するノード コレクションを返します。
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
パラメーター
- xPathExpression
- String
評価する XPath 式。 詳細については、 XPathBinderを参照してください。
- resolver
- IXmlNamespaceResolver
名前空間の解決に使用されるプレフィックスと名前空間のマッピングのセット。
返品
ノードの IEnumerable リスト。
注釈
XPathSelect メソッドは、GetDataItem メソッドを使用して、式が評価されるIXPathNavigable オブジェクト参照を解決します。