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
imageList
Type: Microsoft.ManagementConsole.SnapInImageListThe snap-in image list that is the destination of the elements copied from ICollection. The array must have zero-based indexing.
index
Type: System.Int32The 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