FileGetSize Method (KernelTransaction, String, PathFormat) |
[AlphaFS] Retrieves the file size, in bytes to store a specified file.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static long GetSize(
KernelTransaction transaction,
string path,
PathFormat pathFormat
)
Public Shared Function GetSize (
transaction As KernelTransaction,
path As String,
pathFormat As PathFormat
) As Long
public:
static long long GetSize(
KernelTransaction^ transaction,
String^ path,
PathFormat pathFormat
)
static member GetSize :
transaction : KernelTransaction *
path : string *
pathFormat : PathFormat -> int64
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The path to the file. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
Int64The number of bytes of disk storage used to store the specified file.
See Also