DiscardNull Property

Gets or sets a value indicating whether null bytes are ignored when transmitted between the port and the receive buffer.

Access

Read/Write

Syntax

Visual Basic DiscardNull As Boolean
Visual C++ (MFC) BOOL get_DiscardNull(); void put_DiscardNull(BOOL value);
Visual C++ (#import) VARIANT_BOOL DiscardNull;

Errors

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