DataGridView.DataGridViewControlCollection.Insert(Int32, Control) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts the specified Control into the DataGridView.DataGridViewControlCollection at the specified index.
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)
Parameters
- index
- Int32
The zero-based index at which to insert value
.
- value
- Control
The Control to insert into the DataGridView.DataGridViewControlCollection.
Exceptions
index
is less than zero or greater than or equal to the current number of controls in the DataGridView.DataGridViewControlCollection.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.