DataGridView.DataGridViewControlCollection.Insert(Int32, Control) Metod

Definition

Infogar angivet Control i DataGridView.DataGridViewControlCollection det angivna indexet.

public:
 void Insert(int index, System::Windows::Forms::Control ^ value);
public void Insert(int index, System.Windows.Forms.Control value);
member this.Insert : int * System.Windows.Forms.Control -> unit
Public Sub Insert (index As Integer, value As Control)

Parametrar

index
Int32

Det nollbaserade index där du ska infoga value.

Undantag

index är mindre än noll eller större än eller lika med det aktuella antalet kontroller i DataGridView.DataGridViewControlCollection.

Gäller för

Se även