Method SetRow
SetRow(int, object[])
Sets the content of the specified row to the provided content.
public object[] SetRow(int row, object[] data)
Parameters
rowintThe 0-based index of the row.
dataobject[]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
rowintThe 0-based index of the row.
dataobject[]The row data. A null reference as cell value will preserve the value of the cell.
timeInfoDateTime?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
rowintThe 0-based index of the row.
dataobject[]The row data. A null reference as cell value will preserve the value of the cell.
useClearAndLeaveboolIndicates 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
rowintThe 0-based index of the row.
dataobject[]The row data. A null reference as cell value will preserve the value of the cell.
timeInfoDateTime?Timestamp.
useClearAndLeaveboolIndicates 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
rowQActionTableRowThe row to set. A null reference as cell value will preserve the value of the cell.
createRowboolIndicates 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
rowQActionTableRowThe row to set. A null reference as cell value will preserve the value of the cell.
createRowboolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
timeInfoDateTime?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
rowQActionTableRowThe row to set. A null reference as cell value will preserve the value of the cell.
createRowboolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
useClearAndLeaveboolIndicates 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
rowQActionTableRowThe row to set. A null reference as cell value will preserve the value of the cell.
createRowboolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
timeInfoDateTime?Timestamp.
useClearAndLeaveboolIndicates 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
rowstringPrimary key of the row.
dataobject[]The row data. A null reference as cell value will preserve the value of the cell.
createRowboolIndicates 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
rowstringPrimary key of the row.
dataobject[]The row data. A null reference as cell value will preserve the value of the cell.
createRowboolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
timeInfoDateTime?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
rowstringPrimary key of the row.
dataobject[]The row data. A null reference as cell value will preserve the value of the cell.
createRowboolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
useClearAndLeaveboolIndicates 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
rowstringPrimary key of the row.
dataobject[]The row data. A null reference as cell value will preserve the value of the cell.
createRowboolIndicates whether a row must be created if the table does not contain a row with the specified primary key.
timeInfoDateTime?Timestamp.
useClearAndLeaveboolIndicates 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.