C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System.IO
Stream Class
Stream Properties
CanRead Property
CanSeek Property
Length Property
Position Property
Stream
Length Property
When overridden in a derived class, gets the length in bytes of the stream.
Namespace:
System.IO
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
abstract
long
Length
{
get
; }
Return Value
Type:
Int64
A long value representing the length of the stream in bytes.
Exceptions
Exception
Condition
NotSupportedException
A class derived from Stream does not support seeking.
ObjectDisposedException
Methods were called after the stream was closed.
See Also
Reference
Stream Class
System.IO Namespace