[]
        
(Showing Draft Content)

FarPoint.Web.Spread.DefaultStyleCollection.CopyTo

CopyTo Method

CopyTo(Array, int)

Copies the styles in the collection to a specified array at a specified location.

Declaration
public void CopyTo(Array array, int index)
Public Sub CopyTo(array As Array, index As Integer)
Parameters
Type Name Description
Array array

One-dimensional array into which the elements from ICollection are copied; the array indexing must be zero-based.

int index

Zero-based index in the array at which to paste the styles

Implements
Exceptions
Type Condition
ArgumentNullException

No array specified, or specified array is null (Nothing)

ArgumentException

Specified array is invalid; must have a rank of one

ArgumentException

Specified array is invalid; must have sufficient length

IndexOutOfRangeException

Specified index is out of range; must be greater than zero

CopyTo(NamedStyle[], int)

Copies the styles in the collection to a specified array at a specified location.

Declaration
public void CopyTo(NamedStyle[] array, int index)
Public Sub CopyTo(array As NamedStyle(), index As Integer)
Parameters
Type Name Description
NamedStyle[] array

One-dimensional array into which the elements from ICollection are copied; the array indexing must be zero-based.

int index

Zero-based index in the array at which to paste the styles