ListObject.RefreshDataRows Method (2007 System)
Updates all of the rows in the ListObject with data from the data source.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public Sub RefreshDataRows
'Usage
Dim instance As ListObject
instance.RefreshDataRows()
public void RefreshDataRows()
public:
void RefreshDataRows()
public function RefreshDataRows()
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.