Click or drag to resize

DocumentLoaderCacheDocument Method

Stores a document in the cache.

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.4
Syntax
public virtual Document CacheDocument(
	Document document,
	bool replace
)

Parameters

document
Type: Microsoft.ClearScriptDocument
The document to store in the cache.
replace
Type: SystemBoolean
True to replace any existing document with the same URI, false otherwise.

Return Value

Type: Document
The cached document, which may be different from document if replace is false.
Remarks
A cached document must have an absolute URI.
See Also