編輯

共用方式為


_Columns.RemoveAll Method

Definition

Removes all the columns from the Columns collection and resets the Table.

public:
 void RemoveAll();
public void RemoveAll ();
Public Sub RemoveAll ()

Remarks

RemoveAll resets the Table by moving the current row to just before the first row of the Table. After a call to RemoveAll, Count becomes zero (0).

Applies to