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

定义

从数组的指定索引开始,将元素从集合复制到一个数组。

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 类型的数组。

index
Int32

array 中从零开始的索引,从此处开始复制。

适用于