Switcher.WidgetsCollection.CopyTo Method
Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Public Sub CopyTo ( _
array As IWidget(), _
arrayIndex As Integer _
)
'Usage
Dim instance As Switcher..::..WidgetsCollection
Dim array As IWidget()
Dim arrayIndex As Integer
instance.CopyTo(array, arrayIndex)
public void CopyTo(
IWidget[] array,
int arrayIndex
)
public:
virtual void CopyTo(
array<IWidget^>^ array,
int arrayIndex
) sealed
abstract CopyTo :
array:IWidget[] *
arrayIndex:int -> unit
override CopyTo :
array:IWidget[] *
arrayIndex:int -> unit
public final function CopyTo(
array : IWidget[],
arrayIndex : int
)
Parameters
- array
Type: array<Microsoft.SqlServer.Management.Controls.IWidget[]
The one-dimensional array that is the destination of the elements copied from the collection. The array must have zero-based indexing.
- arrayIndex
Type: System.Int32
The zero-based index in the array at which copying begins.