ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
DocumentLoader Class
DocumentLoader Methods
CacheDocument Method
DiscardCachedDocuments Method
GetCachedDocument Method
LoadDocument Method
LoadDocumentAsync Method

# DocumentLoaderGetCachedDocument Method

Searches for a cached document by URI.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public virtual Document GetCachedDocument(
    	Uri uri
    )

    Public Overridable Function GetCachedDocument (
    	uri As Uri
    ) As Document

    public:
    virtual Document^ GetCachedDocument(
    	Uri^ uri
    )

    abstract GetCachedDocument :
            uri : Uri -> Document
    override GetCachedDocument :
            uri : Uri -> Document

#### Parameters

uri Uri
  The document URI for which to search.

#### Return Value

Document
The cached document if it was found, null otherwise.
See Also

#### Reference

DocumentLoader Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft