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 .NET
DiscardNull As Boolean
Visual C#
Boolean DiscardNull;

Errors

The property may throw exception. Refer to Handle errors sample for details.