ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
DefaultDocumentLoader Class
DefaultDocumentLoader Properties
MaxCacheSize Property

# DefaultDocumentLoaderMaxCacheSize Property

Gets or sets the maximum size of the document loader's cache.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public override uint MaxCacheSize { get; set; }

    Public Overrides Property MaxCacheSize As UInteger
    	Get
    	Set

    public:
    virtual property unsigned int MaxCacheSize {
    	unsigned int get () override;
    	void set (unsigned int value) override;
    }

    abstract MaxCacheSize : uint32 with get, set
    override MaxCacheSize : uint32 with get, set

#### Property Value

UInt32
Remarks
This property specifies the maximum number of documents to be cached by the document loader. For the default document loader, its initial value is 1024.
See Also

#### Reference

DefaultDocumentLoader Class
Microsoft.ClearScript Namespace
Default

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft