CookieCollectionCopyTo Method (Array, Int32) |
Namespace: Sfs2X.WebSocketSharp.Net
public void CopyTo( Array array, int index )
| Exception | Condition |
|---|---|
| ArgumentNullException | array is . |
| ArgumentOutOfRangeException | index is less than zero. |
| ArgumentException | array is multidimensional. -or- The number of elements in the collection is greater than the available space from index to the end of the destination array. |
| InvalidCastException | The elements in the collection cannot be cast automatically to the type of the destination array. |