XmlQuerySequence<T>.CreateOrReuse XmlQuerySequence<T>.CreateOrReuse XmlQuerySequence<T>.CreateOrReuse 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>) CreateOrReuse(XmlQuerySequence<T>) CreateOrReuse(XmlQuerySequence<T>) CreateOrReuse(XmlQuerySequence<T>)

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) CreateOrReuse(XmlQuerySequence<T>, T) CreateOrReuse(XmlQuerySequence<T>, T) CreateOrReuse(XmlQuerySequence<T>, T)

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>) CreateOrReuse(XmlQuerySequence<T>) CreateOrReuse(XmlQuerySequence<T>) CreateOrReuse(XmlQuerySequence<T>)

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

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

Returns

CreateOrReuse(XmlQuerySequence<T>, T) CreateOrReuse(XmlQuerySequence<T>, T) CreateOrReuse(XmlQuerySequence<T>, T) CreateOrReuse(XmlQuerySequence<T>, T)

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.

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

item
T T T T

An item to add.

Returns

Applies to