FileCache Constructor (String, String) |
Namespace: GroupDocs.Viewer.CachingAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic FileCache(
string cachePath,
string cacheSubFolder
)
Public Sub New (
cachePath As String,
cacheSubFolder As String
)
public:
FileCache(
String^ cachePath,
String^ cacheSubFolder
)
new :
cachePath : string *
cacheSubFolder : string -> FileCache
Parameters
- cachePath
- Type: SystemString
Relative or absolute path where document cache will be stored. - cacheSubFolder
- Type: SystemString
The sub-folder to append to cachePath.
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown when cachePath is null. |
ArgumentNullException | Thrown when cacheSubFolder is null. |
See Also