Gets the size of the file. Returns 0.0 for directories. The unit for the file size is determined when using the methods GetFileInfo and GetDirectoryContents.
C#
public Double Size { get; }
VB
Public Read Property Size As Double
Read only.