Discuss this help topic in SecureBlackbox Forum

TElCustomFileSystemAdapter.FileGetSize

TElCustomFileSystemAdapter     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Gets file size in bytes.

Declaration

[C#/Java]
    long FileGetSize(Object FileHandle);

[VB.NET]
    Function FileGetSize(ByVal FileHandle As Object) As Long

[Pascal]
    function FileGetSize(FileHandle : TObject) : Int64; virtual; abstract;

[C++]
    int64_t FileGetSize(TObject &FileHandle);
    int64_t FileGetSize(TObject *FileHandle);

[PHP]
    integer FileGetSize(TObject $FileHandle)

Parameters

  • FileHandle - system handle of the file which size is requested.

Return value

    Returns the size of the file in bytes.

Description

    Use this property to get the size of the specified file.

See also:     FileSetSize    

Discuss this help topic in SecureBlackbox Forum