XmlQueryNodeSequence.ICollection<XPathItem>.CopyTo 方法

定义

将此序列的内容复制到指定目标数组中从指定索引处开始的位置。

此 API 支持产品基础结构,不能在代码中直接使用。

 virtual void System.Collections.Generic.ICollection<System.Xml.XPath.XPathItem>.CopyTo(cli::array <System::Xml::XPath::XPathItem ^> ^ array, int index) = System::Collections::Generic::ICollection<System::Xml::XPath::XPathItem ^>::CopyTo;
void ICollection<XPathItem>.CopyTo (System.Xml.XPath.XPathItem[] array, int index);
abstract member System.Collections.Generic.ICollection<System.Xml.XPath.XPathItem>.CopyTo : System.Xml.XPath.XPathItem[] * int -> unit
override this.System.Collections.Generic.ICollection<System.Xml.XPath.XPathItem>.CopyTo : System.Xml.XPath.XPathItem[] * int -> unit
Sub CopyTo (array As XPathItem(), index As Integer) Implements ICollection(Of XPathItem).CopyTo

参数

array
XPathItem[]

XPathItem 实例的数组。

index
Int32

一个 int 类型的值。

实现

适用于