ErrorChar Property

Specifies the value of the character used to replace bytes received with a parity error.

Access

Read/Write

Syntax

Visual Basic
ErrorChar As Byte
Visual C++ (MFC)
BYTE get_ErrorChar(); 
void put_ErrorChar(BYTE value);   
Visual C++ (#import)
BYTE ErrorChar;

Errors

The property may throw exception. Use GetLastError method to get the error code.