ListView.SelectedIndexCollection.IList.Contains(Object) Metod

Definition

Avgör om det angivna objektet finns i samlingen.

 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

Parametrar

selectedIndex
Object

Indexet som ska hittas i samlingen.

Returer

true om det angivna indexet ListView.ListViewItemCollection från för ListView är ett objekt i samlingen, falseannars .

Implementeringar

Gäller för