System.Windows.Forms.ListView.CheckedListViewItemCollection.IndexOf C# (CSharp) Méthode

IndexOf() public méthode

public IndexOf ( System.Windows.Forms.ListViewItem item ) : int
item System.Windows.Forms.ListViewItem
Résultat int
			public int IndexOf (ListViewItem item)
			{
				if (owner.VirtualMode)
					throw new InvalidOperationException ();
				if (!owner.CheckBoxes)
					return -1;
				return List.IndexOf (item);
			}