deleteFromCache Method

Summary

Deletes the specified Document from the cache.

Syntax

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

Parameters

documentId

The unique identifier of the Document object.

Return Value

A voidPromise object that may resolve successfully.

Remarks

When a Document 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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly