| Visual Basic (Declaration) | |
|---|---|
Public Property StopBits As StopBits | |
| C# | |
|---|---|
public StopBits StopBits {get; set;} | |
The default value for StopBits is One.
| Exception | Description |
|---|---|
| System.InvalidOperationException | Property cannot be changed if connection is open. |
| System.ArgumentOutOfRangeException | The StopBits value is StopBits.None |
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8