SnapInImageList.CopyTo Method (SnapInImageList, Int32)

 

Copies the elements of the ICollection to an array, starting at a particular array index.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public void CopyTo(
    SnapInImageList imageList,
    int index
)
public:
void CopyTo(
    SnapInImageList^ imageList,
    int index
)
member CopyTo : 
        imageList:SnapInImageList *
        index:int -> unit
Public Sub CopyTo (
    imageList As SnapInImageList,
    index As Integer
)

Parameters

  • index
    Type: System.Int32

    The zero-based index in array at which copying begins.

Exceptions

Exception Condition
ArgumentException

Index is out of range, or the destination is too small.

ArgumentNullException

The image list is null.

See Also

CopyTo Overload
SnapInImageList Class
Microsoft.ManagementConsole Namespace

Return to top