[This is preliminary documentation and is subject to change.]

Gets if this is an in-memory data source.

Namespace: Awesomium.Core.Data
Assembly: Awesomium.Core (in Awesomium.Core.dll) Version: 1.7.0.5 (1.7.0.5)

Syntax

C#
public bool IsInMemory { get; }
Visual Basic
Public ReadOnly Property IsInMemory As Boolean
	Get
Visual C++
public:
property bool IsInMemory {
	bool get ();
}

Remarks

In-memory DirectoryDataSource instances, cache the requested files in memory either when they are first requested, or by using Preload(array<String>[]()[][]). In subsequent requests for the same resource, the DirectoryDataSource loads the resource from memory instead of reading from disk. This can significantly improve performance.
Note
An in-memory DirectoryDataSource will stop caching resources to memory when the specified MaximumSize has been reached.

See Also