Logged out, click to login

JEDI Online help - Details



Back to unit JvAppStorage.pas Back Edit Search Administration

TJvCustomAppStorage.CheckDeletePathByVersion

Summary
Conditionally deletes the specified folder/value and any sub folders.

Parameters
Path - Path (relative to the current path) of the sub tree to delete.
VersionNumber - The value which is compared.
DeleteIfNotEqual - Indicates when to delete the subtree. If DeleteIfNotEqual is set to True, the subtree is delete when the stored value is not equal to parameter
VersionNumber. If DeleteIfNotEqual is set to False, the subtree is deleted when
the stored value is less than VersionNumber.
WriteVersionNumber - Determines if the Value of VersionNumber should be stored in the subtree after the check.
VersionName - The name of the stored version number in the path

Description
CheckDeletePathByVersion gives the possibility to delete a folder out of the storage depending on a stored value named "Version".<br>

See Also
TJvCustomAppStorage.DeleteSubTree,TJvCustomAppStorage.CheckDeletePathByVersion

Last changed by obones on 2009-01-04 20:48:22 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library