Share via


SerialPort.SetLength Method

Sets the length of the current stream.

Namespace: System.IO.Ports
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

public override void SetLength (
         long value
)

Parameters

  • value
    The desired length in bytes.

Remarks

This implementation throws NotSupportedException in all cases.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

SerialPort Class
SerialPort Members
System.IO.Ports Namespace