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)

This API supports the product infrastructure and is not intended to be used directly from your code.

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

CreateOrReuse(XmlQueryNodeSequence, XPathNavigator)

This API supports the product infrastructure and is not intended to be used directly from your code.

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.

This API supports the product infrastructure and is not intended to be used directly from your code.

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.

This API supports the product infrastructure and is not intended to be used directly from your code.

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