HttpSessionState.CopyTo(Array, Int32) 方法

定义

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

Array,它接收会话值。The Array that receives the session values.

index
Int32

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

实现

适用于

另请参阅