DataGridViewSelectedColumnCollection.Insert(Int32, DataGridViewColumn) 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 a column into the collection at the specified position.
public:
void Insert(int index, System::Windows::Forms::DataGridViewColumn ^ dataGridViewColumn);
public void Insert (int index, System.Windows.Forms.DataGridViewColumn dataGridViewColumn);
member this.Insert : int * System.Windows.Forms.DataGridViewColumn -> unit
Public Sub Insert (index As Integer, dataGridViewColumn As DataGridViewColumn)
Parameters
- index
- Int32
The zero-based index at which the column should be inserted.
- dataGridViewColumn
- DataGridViewColumn
The DataGridViewColumn to insert into the DataGridViewSelectedColumnCollection.
Exceptions
Always thrown.
Remarks
This method is not relevant for this class. You cannot change the DataGridViewSelectedColumnCollection class directly. To insert a column into the DataGridViewSelectedColumnCollection, use the DataGridViewBand.Selected property.
Applies to
See also
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про