DataSet.Reset DataSet.Reset DataSet.Reset DataSet.Reset Method

定义

清除所有表并从 DataSet 中删除所有关系、外部约束和表。Clears all tables and removes all relations, foreign constraints, and tables from the DataSet. 子类应重写 Reset(),以便将 DataSet 还原到其原始状态。Subclasses should override Reset() to restore a DataSet to its original state.

public:
 virtual void Reset();
public virtual void Reset ();
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
Public Overridable Sub Reset ()

适用于

另请参阅