Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
声明
Public Sub CopyTo ( _
    array As T(), _
    arrayIndex As Integer _
)
用法
Dim instance As WeakCollection
Dim array As T()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public void CopyTo(
    T[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<T>^ array, 
    int arrayIndex
) sealed
abstract CopyTo : 
        array:'T[] * 
        arrayIndex:int -> unit 
override CopyTo : 
        array:'T[] * 
        arrayIndex:int -> unit 
public final function CopyTo(
    array : T[], 
    arrayIndex : int
)
Parameters
- array
 Type: array<T[]
- arrayIndex
 Type: System.Int32
Implements
ICollection<T>.CopyTo(array<T[], Int32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.