Dispose Method
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Frees all resources used by the DocumentController instance.
Syntax
Dispose()
Frees all resources used by the DocumentController instance.
public virtual void Dispose();Public Overridable Sub Dispose()Dispose(bool)
protected override void Dispose(bool disposing);Protected Overrides Sub Dispose(disposing As Boolean)Examples
The following example uses Dispose in a focused Document Controller workflow. The created object is then available to the surrounding document workflow.
documentController.Dispose();
Console.WriteLine("Document Controller is ready for use.");documentController.Dispose()
Console.WriteLine("Document Controller is ready for use.")