Class ExcelTableRow¶
Namespace: OfficeOpenXml.Table
Assembly: EPPlus.dll
Represents a row in an ExcelTable
Inheritance¶
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
ColumnCount¶
Number of columns
Property Value¶
IsDeleted¶
Indicates if this row has been deleted.
Property Value¶
IsEmpty¶
Returns true if every cell in the row has null values
Property Value¶
IsHidden¶
Returns true if the entire row is hidden
Property Value¶
RowRange¶
An ExcelRangeBase representing the row from first to last cell
Property Value¶
Methods¶
Clear()¶
Clear all cell values in the row's range.
Returns¶
Delete()¶
Removes this row from the table
GetFormula(string)¶
Returns formula by column name.
Parameters¶
columnName string
Returns¶
GetFormula(int)¶
Returns formula by 0-based column index
Parameters¶
offsetIndex int
Returns¶
GetValue<T>(string)¶
Returns cell value by column name
Parameters¶
columnName string
Returns¶
T
Type Parameters¶
T
Cell value type
Exceptions¶
If the row has previously been deleted.
GetValue(string)¶
Returns cell value by column name
Parameters¶
columnName string
Returns¶
Exceptions¶
If the row has previously been deleted.
GetValue<T>(int)¶
Returns cell value by column index
Parameters¶
offsetIndex int
0-based column index
Returns¶
T
Type Parameters¶
T
Cell value type
Exceptions¶
If the row has previously been deleted.
GetValue(int)¶
Returns cell value by column index
Parameters¶
offsetIndex int
0-based column index
Returns¶
Exceptions¶
If the row has previously been deleted.
SetValue(string, object)¶
Set a cell value by column name
Parameters¶
columnName string
The table column name
value object
The table cell value
Returns¶
Exceptions¶
If the row has previously been deleted.
SetValue(int, object)¶
Set a cell value by column index
Parameters¶
offsetIndex int
0-based column index
value object
The table cell value
Returns¶
Exceptions¶
If the row has previously been deleted.
SetValues(params object[])¶
Set all the cell values of the table row by providing an array of object
Parameters¶
values object[]
Exceptions¶
Will be thrown if values is null
Will be thrown if values is an empty array
Will be thrown if number of items in values exceeds number of columns in the table.
If the row has previously been deleted.