BasicProfileViolationCollection.CopyTo(BasicProfileViolation[], Int32) 方法

定义

从数组的指定索引开始,将元素从集合复制到一个数组。Copies the elements from the collection to an array, starting at a specified index of the array.

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

参数

array
BasicProfileViolation[]

集合内容要复制到的 BasicProfileViolation 类型的数组。An array of type BasicProfileViolation to which to copy the contents of the collection.

index
Int32

array 中从零开始的索引,从此处开始复制。The zero-based index in array at which copying begins.

适用于