- array
- The one-dimensional array that is the destination of the items to be copied from the collection.
- arrayIndex
- The zero-based index in the destination array at which copying begins.
Visual Basic (Declaration) | |
---|---|
Public Sub CopyTo( _ ByVal array() As Renderer, _ ByVal arrayIndex As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Renderers Dim array() As Renderer Dim arrayIndex As Integer instance.CopyTo(array, arrayIndex) |
C# | |
---|---|
public void CopyTo( Renderer[] array, int arrayIndex ) |
C++/CLI | |
---|---|
public: void CopyTo( array<Renderer^>^ array, int arrayIndex ) |
Parameters
- array
- The one-dimensional array that is the destination of the items to be copied from the collection.
- arrayIndex
- The zero-based index in the destination array at which copying begins.
Exception | Description |
---|---|
System.ArgumentNullException | |
System.ArgumentOutOfRangeException | |
System.ArgumentException |
The Array must have zero-based indexing.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7