XmlQueryItemSequence.CreateOrReuse Method (XmlQueryItemSequence, XPathItem)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Clears and reuses an XmlQueryItemSequence object if it is available. If the seq parameter is null, creates a new XmlQueryItemSequence. This method then adds a new item to reused or new sequence.

Namespace:   System.Xml.Xsl.Runtime
Assembly:  System.Data.SqlXml (in System.Data.SqlXml.dll)

public static XmlQueryItemSequence CreateOrReuse(
	XmlQueryItemSequence seq,
	XPathItem item
)

Parameters

seq
Type: System.Xml.Xsl.Runtime.XmlQueryItemSequence

An instance of the XmlQueryItemSequence class.

item
Type: System.Xml.XPath.XPathItem

An instance of the XPathItem class.

Return Value

Type: System.Xml.Xsl.Runtime.XmlQueryItemSequence

An instance of the XmlQueryItemSequence class.

.NET Framework
Available since 2.0
Return to top
Show: