ResetContents Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Deletes the entire contents of the control.
Syntax
public void ResetContents();Public Sub ResetContents()Examples
The following example restores the contents setting on the server text control to its default. The created object is then available to the surrounding document workflow.
textControl.ResetContents();
Console.WriteLine("Server Text Control is ready for use.");textControl.ResetContents()
Console.WriteLine("Server Text Control is ready for use.")