System.Windows.Forms.ListView.CheckedListViewItemCollection.IndexOf C# (CSharp) Method

IndexOf() public method

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