Click or drag to resize

DrawingStyleCollectionCopyTo Method

Copies the entire DrawingStyleCollection values to a one-dimensional array of DrawingStyles, starting at the specified index of the target array.

Namespace:  Cadcorp.Configuration
Assembly:  Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
public void CopyTo(
	DrawingStyle[] array,
	int index
)

Parameters

array
Type: Cadcorp.ConfigurationDrawingStyle
The one-dimensional array of DrawingStyle that is the destination of the elements copied from DrawingStyleCollection. The Array must have zero-based indexing.
index
Type: SystemInt32
The zero-based index in array at which copying begins.
Exceptions
ExceptionCondition
ArgumentNullExceptionarray is null.
ArgumentOutOfRangeExceptionindex is less than zero.
ArgumentExceptionarray is multidimensional.-or- The number of elements in the source StringCollection is greater than the available space from index to the end of the destination array.
InvalidCastExceptionThe type of the source DrawingStyleCollection cannot be cast automatically to the type of the destination array.
See Also