IPropertiesDictionaryTrySaveAsync Method |
IT Hit User File System
Tries to save this properties to a local persitent storage associated with a file or folder.
Namespace:
ITHit.FileSystem
Assembly:
ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 9.0.27334.0-Beta
SyntaxTask TrySaveAsync(
ICustomData localStorage,
string userFileSystemPath,
Engine engine,
ILogger logger
)
Function TrySaveAsync (
localStorage As ICustomData,
userFileSystemPath As String,
engine As Engine,
logger As ILogger
) As Task
Task^ TrySaveAsync(
ICustomData^ localStorage,
String^ userFileSystemPath,
Engine^ engine,
ILogger^ logger
)
abstract TrySaveAsync :
localStorage : ICustomData *
userFileSystemPath : string *
engine : Engine *
logger : ILogger -> Task
Parameters
- localStorage
- Type: ITHit.FileSystemICustomData
Properties will be saved to a storage provided by this parameter. - userFileSystemPath
- Type: SystemString
User file system path. - engine
- Type: ITHit.FileSystemEngine
Engine instance. - logger
- Type: ITHit.FileSystemILogger
Logger.
Return Value
Type:
Task
Remarks
This method adds, updates and deletes items from this dictionary into persistent storage associated with a file or folder.
Items that that does not exist in this dictionary, but present in localStorage
will be deleted from storage during this call.
See Also