System.IO.Ports.SerialPort.DataBits Property

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

Syntax

[System.ComponentModel.Browsable(true)]
[System.ComponentModel.DefaultValue(8)]
[System.Diagnostics.MonitoringDescription("")]
public int DataBits { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Requirements

Namespace: System.IO.Ports
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0