M-Files API 22.6.11519.0
GetFileSize Method
VaultObjectFileOperations Object : GetFileSize Method
Description
Gets the size of the specified file.
Syntax
Visual Basic
Public Function GetFileSize( _
   ByVal FileVer As FileVer _
) As Unknown
Parameters
FileVer
Return Type
The file size in bytes, as a signed 64-bit integer.
Remarks

This method is available only if M-Files API is used in the server interface mode.

Note

This method requires support for 64-bit data types. Use GetFileSize_32bit in development environments that do not support these data types such as VBScript.

Development environment should not be confused with the operating system: This method can be used in 32-bit operating systems.

See Also

VaultObjectFileOperations Object  | VaultObjectFileOperations Members