XsBufferedFileStream.SetLength Method
|
|
Sets the length of this stream to the given value.
Namespace:
XSharp.IO
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.24 GA
Syntax VIRTUAL METHOD SetLength(
newLength AS INT64
) AS VOID
public override void SetLength(
long newLength
)
Request Example
View SourceParameters
- newLength
- Type: Int64
Exceptions| Exception | Condition |
|---|
| IOException | An I/O error has occurred. |
| NotSupportedException | The stream does not support both writing and seeking. |
| ArgumentOutOfRangeException | Attempted to set the value parameter to less than 0. |
See Also