ListView.SelectedIndexCollection.IList.Contains(Object) Metodo

Definizione

Consente di determinare se l'elemento specificato è contenuto nell'insieme.

 virtual bool System.Collections.IList.Contains(System::Object ^ selectedIndex) = System::Collections::IList::Contains;
bool IList.Contains (object selectedIndex);
bool IList.Contains (object? selectedIndex);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (selectedIndex As Object) As Boolean Implements IList.Contains

Parametri

selectedIndex
Object

Indice da individuare nell'insieme.

Restituisce

Boolean

true se l'indice specificato della classe ListView.ListViewItemCollection per il controllo ListView è un elemento dell'insieme; in caso contrario, false.

Implementazioni

Si applica a