FileGetCompressedSizeTransacted Method (KernelTransaction, String, PathFormat) |
[AlphaFS] Retrieves the actual number of bytes of disk storage used to store a specified file as part of a transaction. If the file
is located on a volume that supports compression and the file is compressed, the value obtained is the compressed size of the
specified file. If the file is located on a volume that supports sparse files and the file is a sparse file, the value obtained is
the sparse size of the specified file.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static long GetCompressedSizeTransacted(
KernelTransaction transaction,
string path,
PathFormat pathFormat
)
Public Shared Function GetCompressedSizeTransacted (
transaction As KernelTransaction,
path As String,
pathFormat As PathFormat
) As Long
public:
static long long GetCompressedSizeTransacted(
KernelTransaction^ transaction,
String^ path,
PathFormat pathFormat
)
static member GetCompressedSizeTransacted :
transaction : KernelTransaction *
path : string *
pathFormat : PathFormat -> int64
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The name of the file.
- pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
Int64The actual number of bytes of disk storage used to store the specified file.
See Also