Method SetRow
SetRow(int, object[])
Sets the content of the specified row to the provided content.
public object[] SetRow(int row, object[] data)
Parameters
row
intThe 0-based index of the row.
data
object[]The row data. A null reference as cell value will preserve the value of the cell.
Returns
- object[]
Exceptions
- ArgumentException
The index is smaller than 0 or larger than the number of rows in the table.
SetRow(int, object[], DateTime?)
Sets the content of the specified row to the provided content.
public object[] SetRow(int row, object[] data, DateTime? timeInfo)
Parameters
row
intThe 0-based index of the row.
data
object[]The row data. A null reference as cell value will preserve the value of the cell.
timeInfo
DateTime?Timestamp.
Returns
- object[]
Remarks
- This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
Exceptions
- ArgumentOutOfRangeException
The index is smaller than 0 or larger than the number of rows in the table.
SetRow(int, object[], bool)
Sets the content of the specified row to the provided content.
public object[] SetRow(int row, object[] data, bool useClearAndLeave)
Parameters
row
intThe 0-based index of the row.
data
object[]The row data. A null reference as cell value will preserve the value of the cell.
useClearAndLeave
boolIndicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.
Returns
- object[]
Remarks
- This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
Exceptions
- ArgumentOutOfRangeException
The index is smaller than 0 or larger than the number of rows in the table.
SetRow(int, object[], DateTime?, bool)
Sets the content of the specified row to the provided content.
public object[] SetRow(int row, object[] data, DateTime? timeInfo, bool useClearAndLeave)
Parameters
row
intThe 0-based index of the row.
data
object[]The row data. A null reference as cell value will preserve the value of the cell.
timeInfo
DateTime?Timestamp.
useClearAndLeave
boolIndicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.
Returns
- object[]
Remarks
- This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
Exceptions
- ArgumentOutOfRangeException
The index is smaller than 0 or larger than the number of rows in the table.
SetRow(QActionTableRow, bool)
Sets the content of the specified row to the provided content.
public object[] SetRow(QActionTableRow row, bool createRow = false)
Parameters
row
QActionTableRowThe row to set. A null reference as cell value will preserve the value of the cell.
createRow
boolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
Returns
- object[]
Exceptions
- ArgumentException
When the row does not exist and the create row option is set to false.
SetRow(QActionTableRow, bool, DateTime?)
Sets the content of the specified row to the provided content.
public object[] SetRow(QActionTableRow row, bool createRow, DateTime? timeInfo)
Parameters
row
QActionTableRowThe row to set. A null reference as cell value will preserve the value of the cell.
createRow
boolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
timeInfo
DateTime?Timestamp.
Returns
- object[]
Remarks
- This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
Exceptions
- ArgumentException
When the row does not exist and the create row option is set to false.
SetRow(QActionTableRow, bool, bool)
Sets the content of the specified row to the provided content.
public object[] SetRow(QActionTableRow row, bool createRow, bool useClearAndLeave)
Parameters
row
QActionTableRowThe row to set. A null reference as cell value will preserve the value of the cell.
createRow
boolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
useClearAndLeave
boolIndicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.
Returns
- object[]
Remarks
- This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
Exceptions
- ArgumentException
When the row does not exist and the create row option is set to false.
SetRow(QActionTableRow, bool, DateTime?, bool)
Sets the content of the specified row to the provided content.
public object[] SetRow(QActionTableRow row, bool createRow, DateTime? timeInfo, bool useClearAndLeave)
Parameters
row
QActionTableRowThe row to set. A null reference as cell value will preserve the value of the cell.
createRow
boolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
timeInfo
DateTime?Timestamp.
useClearAndLeave
boolIndicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.
Returns
- object[]
Remarks
- This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
Exceptions
- ArgumentException
When the row does not exist and the create row option is set to false.
SetRow(string, object[], bool)
Sets the content of the specified row to the provided content.
public object[] SetRow(string row, object[] data, bool createRow = false)
Parameters
row
stringPrimary key of the row.
data
object[]The row data. A null reference as cell value will preserve the value of the cell.
createRow
boolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
Returns
- object[]
Exceptions
- ArgumentException
When the row does not exist and the create row option is set to false.
SetRow(string, object[], bool, DateTime?)
Sets the content of the specified row to the provided content.
public object[] SetRow(string row, object[] data, bool createRow, DateTime? timeInfo)
Parameters
row
stringPrimary key of the row.
data
object[]The row data. A null reference as cell value will preserve the value of the cell.
createRow
boolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
timeInfo
DateTime?Timestamp.
Returns
- object[]
Remarks
- This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
Exceptions
- ArgumentException
When the row does not exist and the create row option is set to false.
SetRow(string, object[], bool, bool)
Sets the content of the specified row to the provided content.
public object[] SetRow(string row, object[] data, bool createRow, bool useClearAndLeave)
Parameters
row
stringPrimary key of the row.
data
object[]The row data. A null reference as cell value will preserve the value of the cell.
createRow
boolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
useClearAndLeave
boolIndicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.
Returns
- object[]
Remarks
- This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
Exceptions
- ArgumentException
When the row does not exist and the create row option is set to false.
SetRow(string, object[], bool, DateTime?, bool)
Sets the content of the specified row to the provided content.
public object[] SetRow(string row, object[] data, bool createRow, DateTime? timeInfo, bool useClearAndLeave)
Parameters
row
stringPrimary key of the row.
data
object[]The row data. A null reference as cell value will preserve the value of the cell.
createRow
boolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
timeInfo
DateTime?Timestamp.
useClearAndLeave
boolIndicates to consider the values corresponding with protocol.Clear and protocol.Leave as cell actions instead of an actual cell value.
Returns
- object[]
Remarks
- This overload is supported from DataMiner 10.4.2 onwards (RN 38153).
Exceptions
- ArgumentException
When the row does not exist and the create row option is set to false.