Length Property (NativeFileStream)
In This Topic
When overridden in a derived class, gets the length in bytes of the stream.
Syntax
'Declaration
Public Overrides ReadOnly Property Length As System.Long
public override System.long Length {get;}
Property Value
A long value representing the length of the stream in bytes.
Exceptions
Exception | Description |
System.NotSupportedException | A class derived from Stream does not support seeking. |
System.ObjectDisposedException | Methods were called after the stream was closed. |
See Also