GrapeCity.Xaml.SpreadSheet.Data
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
System.ArgumentNullExceptionNo array specified, or the specified array is null (Nothing).
System.ArgumentExceptionThe specified array is not valid; must have a rank of one.
System.ArgumentExceptionThe specified array is not valid; must have sufficient length.
System.IndexOutOfRangeExceptionThe specified index is out of range; must be greater than zero.
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

StyleInfoCollection Class
StyleInfoCollection Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options