Bewerken

Share via


ImageList.ImageCollection.AddRange(Image[]) Method

Definition

Adds an array of images to the collection.

public:
 void AddRange(cli::array <System::Drawing::Image ^> ^ images);
public:
 void AddRange(... cli::array <System::Drawing::Image ^> ^ images);
public void AddRange (System.Drawing.Image[] images);
public void AddRange (params System.Drawing.Image[] images);
member this.AddRange : System.Drawing.Image[] -> unit
Public Sub AddRange (images As Image())
Public Sub AddRange (ParamArray images As Image())

Parameters

images
Image[]

The array of Image objects to add to the collection.

Exceptions

images is null.

Remarks

Use ImageList.ImageCollection to add several images to the collection. To add a single item, use one of the Add methods.

Applies to