'Declaration Public ReadOnly Property Size As Long
'Usage Dim instance As AbstractFile Dim value As Long value = instance.Size
public long Size {get;}
'Declaration Public ReadOnly Property Size As Long
'Usage Dim instance As AbstractFile Dim value As Long value = instance.Size
public long Size {get;}
Some types of files may not have the size information available. In this case, -1 is returned.
If the file does not physically exist, an exception is thrown.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2