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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly