FSize Function (IntPtr) | |
Returns the size in bytes of a specified file.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax FUNCTION FSize(
pFile AS IntPtr
) AS INT64
public static long FSize(
IntPtr pFile
)
Request Example
View SourceParameters
- pFile
- Type: IntPtr
The handle of the file. Please see the remark below about the compatibility of X# Runtime file handles and Win32 file handles.
Return Value
Type:
Int64The size of the file or -1 when the file handle is not valid.
See Also