System.Windows.Forms.Control.ControlCollection.RemoveAt C# (CSharp) 메소드

RemoveAt() 공개 메소드

public RemoveAt ( int index ) : void
index int
리턴 void
			public void RemoveAt (int index)
			{
				if (index < 0 || index >= list.Count)
					throw new ArgumentOutOfRangeException ("index", index, "ControlCollection does not have that many controls");
				
				Remove ((Control)list[index]);
			}