GrapeCity.Xaml.SpreadSheet.Data
CopyTo(Array,Int32) Method


GrapeCity.Xaml.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 Array, _
   ByVal index As Integer _
) 
'Usage
 
Dim instance As StyleInfoCollection
Dim array As Array
Dim index As Integer
 
instance.CopyTo(array, index)
public virtual void CopyTo( 
   Array array,
   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