XmlQueryNodeSequence.CreateOrReuse Method

Definition

Clears and reuses the specified XmlQueryNodeSequence if it is available. If it is not available, creates a new XmlQueryNodeSequence.

Overloads

CreateOrReuse(XmlQueryNodeSequence)

Clears and reuses the specified XmlQueryNodeSequence if it is available. If the seq parameter is null, creates a new XmlQueryNodeSequence.

CreateOrReuse(XmlQueryNodeSequence, XPathNavigator)

Clears and reuses the specified XmlQueryNodeSequence if it is available. If the seq parameter is null, creates a new XmlQueryNodeSequence and adds navigator to the sequence.

CreateOrReuse(XmlQueryNodeSequence)

Clears and reuses the specified XmlQueryNodeSequence if it is available. If the seq parameter is null, creates a new XmlQueryNodeSequence.

public:
 static System::Xml::Xsl::Runtime::XmlQueryNodeSequence ^ CreateOrReuse(System::Xml::Xsl::Runtime::XmlQueryNodeSequence ^ seq);
public static System.Xml.Xsl.Runtime.XmlQueryNodeSequence CreateOrReuse (System.Xml.Xsl.Runtime.XmlQueryNodeSequence seq);
static member CreateOrReuse : System.Xml.Xsl.Runtime.XmlQueryNodeSequence -> System.Xml.Xsl.Runtime.XmlQueryNodeSequence
Public Shared Function CreateOrReuse (seq As XmlQueryNodeSequence) As XmlQueryNodeSequence

Parameters

seq
XmlQueryNodeSequence

An instance of the XmlQueryNodeSequence class.

Returns

An instance of the XmlQueryNodeSequence class.

CreateOrReuse(XmlQueryNodeSequence, XPathNavigator)

Clears and reuses the specified XmlQueryNodeSequence if it is available. If the seq parameter is null, creates a new XmlQueryNodeSequence and adds navigator to the sequence.

public:
 static System::Xml::Xsl::Runtime::XmlQueryNodeSequence ^ CreateOrReuse(System::Xml::Xsl::Runtime::XmlQueryNodeSequence ^ seq, System::Xml::XPath::XPathNavigator ^ navigator);
public static System.Xml.Xsl.Runtime.XmlQueryNodeSequence CreateOrReuse (System.Xml.Xsl.Runtime.XmlQueryNodeSequence seq, System.Xml.XPath.XPathNavigator navigator);
static member CreateOrReuse : System.Xml.Xsl.Runtime.XmlQueryNodeSequence * System.Xml.XPath.XPathNavigator -> System.Xml.Xsl.Runtime.XmlQueryNodeSequence
Public Shared Function CreateOrReuse (seq As XmlQueryNodeSequence, navigator As XPathNavigator) As XmlQueryNodeSequence

Parameters

seq
XmlQueryNodeSequence

An instance of the XmlQueryNodeSequence class.

navigator
XPathNavigator

An instance of the XPathNavigator class.

Returns

An instance of the XmlQueryNodeSequence class.

Applies to