ListObject.RefreshDataRow Method

Updates the ListObject data row that is associated with the specified data row.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Sub RefreshDataRow ( _
    dataRowIndex As Integer _
)
void RefreshDataRow(
    int dataRowIndex
)

Parameters

  • dataRowIndex
    Type: System.Int32

    The index of the data row in the data source.

Remarks

This method does not send changes that were made to the data in the ListObject back to the data source; it only gets information.

Use this method if the data object does not raise a notification event when the data changes, for example, if you create a class to hold data but do not include an event to notify listeners of changes. If the data object does not raise an event, the ListObject is not updated automatically.

.NET Framework Security

See Also

Reference

ListObject Interface

Microsoft.Office.Tools.Excel Namespace