Visual Basic (Declaration) | |
---|---|
Public Sub CopyTo( _ ByVal array As Array, _ ByVal arrayIndex As Integer _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As VariableCollection Dim array As Array Dim arrayIndex As Integer instance.CopyTo(array, arrayIndex) |
C# | |
---|---|
public void CopyTo( Array array, int arrayIndex ) |
Managed Extensions for C++ | |
---|---|
public: void CopyTo( Array* array, int arrayIndex ) |
C++/CLI | |
---|---|
public: void CopyTo( Array^ array, int arrayIndex ) |
Parameters
- array
- The destination array.
- arrayIndex
- The index within the array to start copying.
Target Platforms: Microsoft .NET Framework 2.0