ExpressionBindingCollection.CopyTo 方法

定義

複製 ExpressionBinding 集合的所有 ExpressionBindingCollection 物件至一維陣列,從目標陣列中指定的索引開始。Copies all the ExpressionBinding objects from the ExpressionBindingCollection collection to a one-dimensional array, starting at the specified index in the target array.

多載

CopyTo(Array, Int32)

複製 ExpressionBinding 集合的所有 ExpressionBindingCollection 物件至一維陣列,從目標陣列中指定的索引開始。Copies all the ExpressionBinding objects from the ExpressionBindingCollection collection to a one-dimensional array, starting at the specified index in the target array.

CopyTo(ExpressionBinding[], Int32)

複製 ExpressionBinding 集合的所有 ExpressionBindingCollection 物件至一維 ExpressionBinding 物件陣列,從目標陣列中指定的索引開始。Copies all the ExpressionBinding objects from the ExpressionBindingCollection collection to a one-dimensional array of ExpressionBinding objects, starting at the specified index in the target array.

CopyTo(Array, Int32)

複製 ExpressionBinding 集合的所有 ExpressionBindingCollection 物件至一維陣列,從目標陣列中指定的索引開始。Copies all the ExpressionBinding objects from the ExpressionBindingCollection collection to a one-dimensional array, starting at the specified index in the target array.

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit

參數

array
Array

以零起始的陣列,接收從集合複製而來的 ExpressionBinding 物件。The zero-based array that receives the ExpressionBinding objects copied from the collection.

index
Int32

目標陣列中開始接收複製項目的位置。The position in the target array at which the array starts receiving the copied items.

實作

CopyTo(ExpressionBinding[], Int32)

複製 ExpressionBinding 集合的所有 ExpressionBindingCollection 物件至一維 ExpressionBinding 物件陣列,從目標陣列中指定的索引開始。Copies all the ExpressionBinding objects from the ExpressionBindingCollection collection to a one-dimensional array of ExpressionBinding objects, starting at the specified index in the target array.

public:
 void CopyTo(cli::array <System::Web::UI::ExpressionBinding ^> ^ array, int index);
public void CopyTo (System.Web.UI.ExpressionBinding[] array, int index);
member this.CopyTo : System.Web.UI.ExpressionBinding[] * int -> unit
Public Sub CopyTo (array As ExpressionBinding(), index As Integer)

參數

array
ExpressionBinding[]

ExpressionBinding 物件之以零起始的陣列,接收從集合複製而來的 ExpressionBinding 物件。The zero-based array of ExpressionBinding objects that receives the ExpressionBinding objects copied from the collection.

index
Int32

目標陣列中開始接收複製項目的位置。The position in the target array at which the array starts receiving the copied items.

適用於