System.Windows.Forms.ListView.SelectedIndexCollection.Remove C# (CSharp) Method

Remove() public method

public Remove ( int itemIndex ) : void
itemIndex int
return void
			public void Remove (int itemIndex)
			{
				if (itemIndex < 0 || itemIndex >= owner.Items.Count)
					throw new ArgumentOutOfRangeException ("itemIndex");

				owner.Items [itemIndex].Selected = false;
			}
			#endregion	// Public Methods