Click or drag to resize

MaterialRefsCopyTo Method

Copies the elements of this dictionary to an System.Array, starting at a particular System.Array index.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void CopyTo(
	KeyValuePair<Guid, MaterialRef>[] array,
	int arrayIndex
)

Parameters

array
Type: System.Collections.GenericKeyValuePairGuid, MaterialRef
The one-dimensional System.Array that is the destination of the elements copied from this dictionary. The System.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
ArgumentNullException array is null
ArgumentOutOfRangeException arrayIndex is less than 0.
ArgumentOutOfRangeException The number of elements in the source dictionary is greater than the available space from arrayIndex to the end of the destination array.
See Also