[]
Copies the GroupInfos in the collection to a specified array at a specified position.
public virtual void CopyTo(GroupInfo[] groupInfos, int index)
Public Overridable Sub CopyTo(groupInfos As GroupInfo(), index As Integer)
| Type | Name | Description |
|---|---|---|
| GroupInfo[] | groupInfos | One-dimensional array into which the elements from ICollection are copied (The array must have zero-based indexing.) |
| int | index | Zero-based index in array at which to paste GroupInfos. |
Copies the GroupInfos in the collection to a specified array at a specified position.
public virtual void CopyTo(Array array, int index)
Public Overridable Sub CopyTo(array As Array, index As Integer)
| Type | Name | Description |
|---|---|---|
| Array | array | One-dimensional array into which the elements from ICollection are copied (The array must have zero-based indexing.) |
| int | index | Zero-based index in array at which to paste styles |
| Type | Condition |
|---|---|
| ArgumentNullException | No array specified, or specified array is null (Nothing) |
| ArgumentException | Specified array is not valid; must have a rank of one |
| ArgumentException | Specified array is not valid; must have sufficient length |
| IndexOutOfRangeException | Specified index is out of range; must be greater than zero |