SerialPort.DataBits Property

Gets or sets the standard length of data bits per byte.

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

Syntax

public int DataBits { get; set; }

Property Value

The data bits length.

Remarks

The range of values for this property is from 5 through 8. The default value is 8.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

SerialPort Class
SerialPort Members
System.IO.Ports Namespace