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)

Source:
XmlQuerySequence.cs
Source:
XmlQuerySequence.cs
Source:
XmlQuerySequence.cs

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.

C#
public static System.Xml.Xsl.Runtime.XmlQueryNodeSequence CreateOrReuse(System.Xml.Xsl.Runtime.XmlQueryNodeSequence seq);

Parameters

seq
XmlQueryNodeSequence

An instance of the XmlQueryNodeSequence class.

Returns

An instance of the XmlQueryNodeSequence class.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CreateOrReuse(XmlQueryNodeSequence, XPathNavigator)

Source:
XmlQuerySequence.cs
Source:
XmlQuerySequence.cs
Source:
XmlQuerySequence.cs

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.

C#
public static System.Xml.Xsl.Runtime.XmlQueryNodeSequence CreateOrReuse(System.Xml.Xsl.Runtime.XmlQueryNodeSequence seq, System.Xml.XPath.XPathNavigator navigator);

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

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1