PlaceholderFileTryHydrate Method (Int64, Int64, FileShare) |
IT Hit User File System
Tries to load file content to user file system from remote storage.
Namespace:
ITHit.FileSystem.Windows
Assembly:
ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.4.27341.0
Syntax public bool TryHydrate(
long offset,
long length,
FileShare fileShare = FileShare.Delete
)
Public Function TryHydrate (
offset As Long,
length As Long,
Optional fileShare As FileShare = FileShare.Delete
) As Boolean
public:
bool TryHydrate(
long long offset,
long long length,
FileShare fileShare = FileShare::Delete
)
member TryHydrate :
offset : int64 *
length : int64 *
?fileShare : FileShare
(* Defaults:
let _fileShare = defaultArg fileShare FileShare.Delete
*)
-> bool
Parameters
- offset
- Type: SystemInt64
Offset in bytes to start loading file content from. - length
- Type: SystemInt64
Lenth of the file content to load. -1 signifies end of file. - fileShare (Optional)
- Type: System.IOFileShare
The kind of access other users can have to this file.
Return Value
Type:
BooleanTrue if the method completed successfully. False - otherwise.
See Also