Share via


SerialPort.Length Property

Gets the length in bytes of the stream.

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

Syntax

public override long Length { get; }

Property Value

The 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