PathSegmentCollection.CopyTo(PathSegment[], Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將整個 PathSegmentCollection 資料複製到一維 PathSegment 陣列,從目標陣列指定的索引開始。
public:
virtual void CopyTo(cli::array <System::Windows::Media::PathSegment ^> ^ array, int index);
public void CopyTo(System.Windows.Media.PathSegment[] array, int index);
abstract member CopyTo : System.Windows.Media.PathSegment[] * int -> unit
override this.CopyTo : System.Windows.Media.PathSegment[] * int -> unit
Public Sub CopyTo (array As PathSegment(), index As Integer)
參數
- array
- PathSegment[]
集合項目要複製到的陣列。
- index
- Int32
從哪裡開始複製 內容array的索引PathSegmentCollection。
實作
例外狀況
array 是 null。
index 小於零。