BuildMaster SDK Reference
Version:

SetLength(long value) Method

Sets the length of the current stream.

Syntax

public virtual void SetLength(long value)

Parameters

value
Type: long

The desired length of the current stream in bytes.

Exceptions

System.ObjectDisposedException

Methods were called after the stream was closed.

System.NotSupportedException

The stream does not support writing.