| Visual Basic (Declaration) | |
|---|---|
Public Sub CopyTo( _ ByVal array() As T, _ ByVal arrayIndex As Integer _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As RelatedEntityList(Of T) Dim array() As T Dim arrayIndex As Integer instance.CopyTo(array, arrayIndex)  | |
| C# | |
|---|---|
public void CopyTo( T[] array, int arrayIndex )  | |
| C++/CLI | |
|---|---|
public: void CopyTo( array<T^>^ array, int arrayIndex )  | |
Parameters
- array
 - arrayIndex
 
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family