ImageList.ImageCollection.IList.IndexOf(Object) Metodo

Definizione

Implementa il metodo IndexOf(Object). Genera un'eccezione NotSupportedException in tutti i casi.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

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

Parametri

imagevalue
Object

Immagine da trovare nell'insieme.

Restituisce

Int32

Indice di value, se presente nell'elenco; in caso contrario, -1.

Implementazioni

Eccezioni

In tutti i casi.

Si applica a