PageTheme.XPathSelect メソッド

定義

テーマ スキン ファイル内の 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 評価されるオブジェクト参照を解決します。

こちらもご覧ください

適用対象