HttpSessionStateWrapper.CopyTo(Array, Int32) 方法

定义

从数组中指定索引处开始,将会话状态值集合复制到一维数组。Copies the collection of session-state values to a one-dimensional array, starting at the specified index in the array.

public:
 override void CopyTo(Array ^ array, int index);
public override void CopyTo (Array array, int index);
override this.CopyTo : Array * int -> unit
Public Overrides Sub CopyTo (array As Array, index As Integer)

参数

array
Array

要将会话值复制到的数组The array to copy session values to

index
Int32

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

适用于