Crestron Simpl # and Simpl # Pro Help
Crestron Simpl # and Simpl # Pro Help
Crestron.SimplSharp.CrestronIO
Stream Class
Stream Properties
CanRead Property
CanSeek Property
CanTimeout Property
CanWrite Property
Length Property
Position Property
ReadTimeout Property
WriteTimeout Property
Stream
Length Property
When overridden in a derived class, gets the length in bytes of the stream.
Namespace:
Crestron.SimplSharp.CrestronIO
Assembly:
SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
Copy
public
abstract
long
Length
{
get
; }
Return Value
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.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also
Reference
Stream Class
Crestron.SimplSharp.CrestronIO Namespace