Spread Silverlight Documentation
CopyTo(Array,Int32) Method


GrapeCity.Windows.SpreadSheet.Data Namespace > StyleInfoCollection Class > CopyTo Method : CopyTo(Array,Int32) Method
The one-dimensional array into which the elements from ICollection are copied. The array must have zero-based indexing.
The zero-based index in the array at which to paste styles.
Copies the styles in the collection to a specified array at a specified position.
Syntax
'Declaration
 
Public Overloads Overridable Sub CopyTo( _
   ByVal array As System.Array, _
   ByVal index As System.Integer _
) 
'Usage
 
Dim instance As StyleInfoCollection
Dim array As System.Array
Dim index As System.Integer
 
instance.CopyTo(array, index)
public virtual void CopyTo( 
   System.Array array,
   System.int index
)

Parameters

array
The one-dimensional array into which the elements from ICollection are copied. The array must have zero-based indexing.
index
The zero-based index in the array at which to paste styles.
Exceptions
ExceptionDescription
No array specified, or the specified array is null (Nothing).
The specified array is not valid; must have a rank of one.
The specified array is not valid; must have sufficient length.
The specified index is out of range; must be greater than zero.
See Also

Reference

StyleInfoCollection Class
StyleInfoCollection Members
Overload List