編輯

共用方式為


XmlQueryItemSequence.CreateOrReuse Method

Definition

Clears and reuses an XmlQueryItemSequence object if it is available. Otherwise, creates a new XmlQueryItemSequence.

Overloads

CreateOrReuse(XmlQueryItemSequence)

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.

CreateOrReuse(XmlQueryItemSequence, XPathItem)

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.

CreateOrReuse(XmlQueryItemSequence)

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

Clears and reuses an XmlQueryItemSequence object if it is available. If the seq parameter is null, creates a new XmlQueryItemSequence.

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

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

Parameters

seq
XmlQueryItemSequence

An instance of the XmlQueryItemSequence class.

Returns

An instance of the XmlQueryItemSequence class.

Applies to

CreateOrReuse(XmlQueryItemSequence, XPathItem)

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

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.

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

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

Parameters

seq
XmlQueryItemSequence

An instance of the XmlQueryItemSequence class.

item
XPathItem

An instance of the XPathItem class.

Returns

An instance of the XmlQueryItemSequence class.

Applies to