.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

RowCollection.Insert Method

Name Parameters Description
Insert(Int32) index Inserts a new row into the worksheet at the specified position.
Insert(Int32, Int32) index, count Inserts multiple rows into the worksheet.
Insert(Int32, Int32, RowFormatMode) index, count, formatMode Inserts multiple rows and specifies how to format these rows.