共用方式為


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 的值。

實作

適用於