ImageList.ImageCollection.IList.Add(Object) Metoda

Definicja

Dodaje określony obraz do elementu ImageList.

 virtual int System.Collections.IList.Add(System::Object ^ value) = System::Collections::IList::Add;
int IList.Add (object value);
int IList.Add (object? value);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (value As Object) As Integer Implements IList.Add

Parametry

value
Object

Obraz do dodania do listy.

Zwraca

Int32

Indeks nowo dodanego obrazu lub -1, jeśli nie można dodać obrazu.

Implementuje

Wyjątki

value to null.

valuenie jest .Bitmap

Dotyczy