PlaceholderFileTryDehydrate Method (SafeFileHandle, Int64, Int64) |
IT Hit User File System
Tries to remove file content from user file system.
Namespace:
ITHit.FileSystem.Windows
Assembly:
ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.4.27341.0
Syntax public static bool TryDehydrate(
SafeFileHandle safeHandle,
long offset,
long length
)
Public Shared Function TryDehydrate (
safeHandle As SafeFileHandle,
offset As Long,
length As Long
) As Boolean
public:
static bool TryDehydrate(
SafeFileHandle^ safeHandle,
long long offset,
long long length
)
static member TryDehydrate :
safeHandle : SafeFileHandle *
offset : int64 *
length : int64 -> bool
Parameters
- safeHandle
- Type: Microsoft.Win32.SafeHandlesSafeFileHandle
Item handle. - offset
- Type: SystemInt64
Offset in bytes to start removing file content from. - length
- Type: SystemInt64
Lenth of the file content to remove. -1 signifies end of file.
Return Value
Type:
BooleanTrue if the method completed successfully. False - otherwise.
See Also