Spread Silverlight Documentation
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
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 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

StyleInfoCollection Class
StyleInfoCollection Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.