FileStream.SetLength Method
Sets the length of this stream to the given value.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Syntax
public override void SetLength (
long length
)
Parameters
- length
The new length of the stream.
Version Information
Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.