Skip to main content
A newer version of this page is available. .

DbDocumentStorage.Clear() Method

Deletes the table records where a cached document is stored.

Namespace: DevExpress.XtraPrinting.Caching

Assembly: DevExpress.XtraReports.v20.2.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

public override void Clear()

Remarks

When creating a DbDocumentStorage object, you specify a database table to use for storing the generated document. Use the Clear method to delete the records that store the document identified by the DocumentId property.

When the Database Document Storage is disposed of, its content is cleared, if the ClearOnDispose property is set to true. The content is cleared using the Clear method.

See Also