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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla