ISerial::Parity

Description

The parity used with every frame transmitted and received. ASRL_PAR_MARK means that the parity bit exists and is always 1.  ASRL_PAR_SPACE means that the parity bit exists and is always 0.

VB Prototype

Dim value As SerialParity
value = object.Parity

object.Parity = value

C++ Prototype

HRESULT get_Parity(
  SerialParity* Parity
);

HRESULT put_Parity(
  SerialParity Parity
);

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