Crestron Simpl # and Simpl # Pro Help
Crestron Simpl # and Simpl # Pro Help
Crestron.SimplSharp.CrestronIO
Stream Class
Stream Methods
BeginRead Method
BeginWrite Method
Close Method
Dispose Method
EndRead Method
EndWrite Method
Flush Method
Read Method
ReadByte Method
Seek Method
SetLength Method
Write Method
WriteByte Method
Stream
Set
Length Method
When overridden in a derived class, sets the length of the current stream.
Namespace:
Crestron.SimplSharp.CrestronIO
Assembly:
SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
Copy
public
abstract
void
SetLength
(
long
value
)
Parameters
value
Int64
The desired length of the current stream in bytes.
Exceptions
Exception
Condition
ObjectDisposedException
Methods were called after the stream was closed.
NotSupportedException
The stream does not support seeking, such as if the stream is constructed
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also
Reference
Stream Class
Crestron.SimplSharp.CrestronIO Namespace