NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

File.Length

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;

Property Value

Read-only. The size of the current file.

Exceptions

Exception Type Condition
IOException Refresh cannot initialize the data.

Remarks

This property value is a null reference (in Visual Basic Nothing) if the file system containing the file does not support this information.

See Also

File Class | File Members | System.IO Namespace