共用方式為


ListObject.ResetPersistedBindingInformation Method

Clears information about changes made to the ListObject control by the user.

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

Syntax

'Declaration
Sub ResetPersistedBindingInformation
void ResetPersistedBindingInformation()

Remarks

If the user changes the order of columns or rows, the information about that change is stored in the worksheet so that the ListObject control is in the custom configuration the next time the worksheet is opened. ResetPersistedBindingInformation clears the stored information so that the ListObject control appears in the default configuration.

.NET Framework Security

See Also

Reference

ListObject Interface

Microsoft.Office.Tools.Excel Namespace