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.4.5
Syntax
public virtual Document CacheDocument(
	Document document,
	bool replace
)

Parameters

document  Document
The document to store in the cache.
replace  Boolean
True to replace any existing document with the same URI, false otherwise.

Return Value

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