IDialog.Reset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Clears all content, events, and configuration from the dialog. Useful when pooling Dialog objects, to ensure that subsequent uses of the object don't retain stale data.
public void Reset();
abstract member Reset : unit -> unit
Public Sub Reset ()
Remarks
When implementing custom dialog types, be sure to override this method to clear any custom state or fields.