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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈