deleteFromCache Method

Summary

Deletes the specified Document from the cache.

Syntax
TypeScript
JavaScript
deleteFromCache = function( 
   documentId 
) 
static deleteFromCache( 
   documentId: string 
): JQueryPromise<void>; 

Parameters

documentId

The unique identifier of the LEADDocument object.

Return Value

A voidPromise object that may resolve successfully.

Remarks

When a LEADDocument object is loaded with either LoadFromUri or LoadFromCache or saved to the cache with SaveToCache, the unique DocumentId property is available. DeleteFromCache can use this value to immediately delete the data from the cache.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.