Share via


PropertyViewer.PropertyItemCollection.CopyTo Method

Copies the elements of the PropertyItemCollection() to an array.

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

Syntax

'Declaration
Public Sub CopyTo ( _
    array As PropertyViewer..::..PropertyItem(), _
    arrayIndex As Integer _
)
'Usage
Dim instance As PropertyViewer..::..PropertyItemCollection
Dim array As PropertyViewer..::..PropertyItem()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)
public void CopyTo(
    PropertyViewer..::..PropertyItem[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<PropertyViewer..::..PropertyItem^>^ array, 
    int arrayIndex
) sealed
abstract CopyTo : 
        array:PropertyViewer..::..PropertyItem[] * 
        arrayIndex:int -> unit 
override CopyTo : 
        array:PropertyViewer..::..PropertyItem[] * 
        arrayIndex:int -> unit 
public final function CopyTo(
    array : PropertyViewer..::..PropertyItem[], 
    arrayIndex : int
)

Parameters

  • arrayIndex
    Type: System.Int32
    The zero-based index in array at which copying begins.

Implements

ICollection<T>.CopyTo(array<T[], Int32)