Contains the size of the current file or directory.
[Visual Basic] Public ReadOnly Property Length As Long [C#] public long Length {get;} [C++] public: __property __int64 get_Length(); [JScript] public function get Length() : long;
Read-only. The size of the current file.
Exception Type | Condition |
---|---|
IOException | Refresh cannot initialize the data. |
This property value is a null reference (in Visual Basic Nothing) if the file system containing the file does not support this information.