ISerial::DataBits

Description

The number of data bits contained in each frame (from 5 to 8). The data bits for each frame are located in the low-order bits of every byte stored in memory.

VB Prototype

Dim value As Short
value = object.DataBits

object.DataBits = value

C++ Prototype

HRESULT get_DataBits(
  short* DataBits
);

HRESULT put_DataBits(
  short DataBits
);

Return Value

Refer to the table of return codes.

See Also

ComponentVersion, SpecVersion, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, LockState, OptionString, ProgID, ResourceName, SessionType, SoftwareManufacturerID, SoftwareManufacturerName, Timeout, LastStatus, BytesAvailable, BaudRate, DataBits, ClearToSendState, DataCarrierDetectState, DataSetReadyState, DataTerminalReadyState, EndIn, EndOut, FlowControl, Parity, RingIndicatorState, RequestToSendState, StopBits, ReplacementCharacter, XONCharacter, XOFFCharacter, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, SetBufferSize, Flush, ISerial Overview