Method SetLength
SetLength(Int64)
Sets the length of the stream.
Declaration
public override void SetLength(long value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The desired length of the current stream in bytes. |
Overrides
System.IO.Stream.SetLength(System.Int64)
Exceptions
Type | Condition |
---|---|
System. |
Stream does not support both writing and seeking. |