Editar

Compartilhar via


SqlFileStream.SetLength(Int64) Method

Definition

Sets the length of the current stream.

public:
 override void SetLength(long value);
public override void SetLength (long value);
override this.SetLength : int64 -> unit
Public Overrides Sub SetLength (value As Long)

Parameters

value
Int64

The desired length of the current stream in bytes.

Exceptions

The object does not support reading of data.

Remarks

Use the CanRead property to determine whether the current instance supports reading.

Applies to

See also