Click or drag to resize

CookieCollectionCopyTo Method (Cookie, Int32)

Copies the elements of the collection to the specified array of Cookie, starting at the specified index in the array.

Namespace:  Sfs2X.WebSocketSharp.Net
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public void CopyTo(
	Cookie[] array,
	int index
)

Parameters

array
Type: Sfs2X.WebSocketSharp.NetCookie
An array of Cookie that represents the destination of the elements copied from the collection.
index
Type: SystemInt32
An Int32 that represents the zero-based index in array at which copying begins.
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is .
ArgumentOutOfRangeExceptionindex is less than zero.
ArgumentException The number of elements in the collection is greater than the available space from index to the end of the destination array.
See Also