Click or drag to resize
BroccoliSharp BroTableCopyTo Method
Copies the elements of this BroTable to an Array, starting at a particular Array index.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public void CopyTo(
	KeyValuePair<BroValue, BroValue>[] array,
	int arrayIndex
)

Parameters

array
Type: System.Collections.GenericKeyValuePairBroValue, BroValue
The one-dimensional Array that is the destination of the elements copied from BroTable. The Array must have zero-based indexing.
arrayIndex
Type: SystemInt32
The zero-based index in array at which copying begins.

Implements

ICollectionTCopyTo(T, Int32)
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is null.
ArgumentOutOfRangeExceptionarrayIndex is less than 0.
ArgumentExceptionThe number of elements in the source BroTable is greater than the available space from arrayIndex to the end of the destination array.
ObjectDisposedExceptionCannot copy to array, BroTable is disposed.
See Also