System.Windows.Forms.ListView.CheckedIndexCollection.Contains C# (CSharp) Method

Contains() public method

public Contains ( int checkedIndex ) : bool
checkedIndex int
return bool
			public bool Contains (int checkedIndex)
			{
				int [] indices = GetIndices ();
				for (int i = 0; i < indices.Length; i++) {
					if (indices [i] == checkedIndex)
						return true;
				}
				return false;
			}