Bagikan melalui


CpuCollection.CopyTo Method (array<Cpu , Int32)

Copies the collection of objects to a one-dimensional array beginning at the specified index value.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As Cpu(), _
    index As Integer _
)
'Usage
Dim instance As CpuCollection 
Dim array As Cpu()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    Cpu[] array,
    int index
)
public:
void CopyTo(
    array<Cpu^>^ array, 
    int index
)
member CopyTo : 
        array:Cpu[] * 
        index:int -> unit
public function CopyTo(
    array : Cpu[], 
    index : int
)

Parameters

  • index
    Type: System.Int32
    An Int32 value that specifies the index value in the collection to start copying.

See Also

Reference

CpuCollection Class

CopyTo Overload

Microsoft.SqlServer.Management.Smo Namespace