SelectedShapesCollection.CopyTo 方法 (Array, Int32)

陣列,從特定的陣列索引處開始複製選取範圍的 ShapeElements。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
public void CopyTo(
    Array array,
    int index
)

參數

  • array
    型別:System.Array
    複製選取範圍中的目的端的 ShapeElements 的一維陣列。陣列必須有以零起始的索引。
  • index
    型別:System.Int32
    array 中以零起始的索引,複製作業從此處開始。

實作

ICollection.CopyTo(Array, Int32)

.NET Framework 安全性

請參閱

參考

SelectedShapesCollection 類別

CopyTo 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間