XmlQuerySequence<T>.CreateOrReuse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
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 |
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
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
An XmlQuerySequence<T> instance to be reused.
- item
- T
An item to add.
Returns
An instance of the XmlQuerySequence<T> class.
Applies to
.NET