Szerkesztés

Megosztás a következőn keresztül:


MemoryMappedViewStream.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

This method is not supported.

Remarks

This method is internal only, because a stream that represents a view is not considered to have a length.

Applies to