Edytuj

Udostępnij za pośrednictwem


XmlQuerySequence<T>.CreateOrReuse Method

Definition

Clears and reuses the specified XmlQuerySequence<T> if it is available. Otherwise, creates a new XmlQuerySequence<T>.

Overloads

CreateOrReuse(XmlQuerySequence<T>)

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

Clears and reuses the specified XmlQuerySequence<T> if it is available. If the seq parameter is null, creates a new XmlQuerySequence<T>.

CreateOrReuse(XmlQuerySequence<T>, T)

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

Clears and reuses the specified XmlQuerySequence<T> it is available. If the seq parameter is null, creates a new XmlQuerySequence<T> and adds item to the collection.

CreateOrReuse(XmlQuerySequence<T>)

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

Clears and reuses the specified XmlQuerySequence<T> if it is available. If the seq parameter is null, creates a new XmlQuerySequence<T>.

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

public:
 static System::Xml::Xsl::Runtime::XmlQuerySequence<T> ^ CreateOrReuse(System::Xml::Xsl::Runtime::XmlQuerySequence<T> ^ seq);
public static System.Xml.Xsl.Runtime.XmlQuerySequence<T> CreateOrReuse (System.Xml.Xsl.Runtime.XmlQuerySequence<T> seq);
static member CreateOrReuse : System.Xml.Xsl.Runtime.XmlQuerySequence<'T> -> System.Xml.Xsl.Runtime.XmlQuerySequence<'T>
Public Shared Function CreateOrReuse (seq As XmlQuerySequence(Of T)) As XmlQuerySequence(Of T)

Parameters

seq
XmlQuerySequence<T>

An XmlQuerySequence<T> instance to be reused.

Returns

An instance of the XmlQuerySequence<T> class.

Applies to

CreateOrReuse(XmlQuerySequence<T>, T)

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

Clears and reuses the specified XmlQuerySequence<T> it is available. If the seq parameter is null, creates a new XmlQuerySequence<T> and adds item to the collection.

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

public:
 static System::Xml::Xsl::Runtime::XmlQuerySequence<T> ^ CreateOrReuse(System::Xml::Xsl::Runtime::XmlQuerySequence<T> ^ seq, T item);
public static System.Xml.Xsl.Runtime.XmlQuerySequence<T> CreateOrReuse (System.Xml.Xsl.Runtime.XmlQuerySequence<T> seq, T item);
static member CreateOrReuse : System.Xml.Xsl.Runtime.XmlQuerySequence<'T> * 'T -> System.Xml.Xsl.Runtime.XmlQuerySequence<'T>
Public Shared Function CreateOrReuse (seq As XmlQuerySequence(Of T), item As T) As XmlQuerySequence(Of T)

Parameters

seq
XmlQuerySequence<T>

An XmlQuerySequence<T> instance to be reused.

item
T

An item to add.

Returns

An instance of the XmlQuerySequence<T> class.

Applies to