Share via


BaseStream Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the underlying Stream object for a SerialPort object.

Namespace:  System.IO.Ports
Assembly:  Microsoft.SPOT.Hardware.SerialPort (in Microsoft.SPOT.Hardware.SerialPort.dll)

Syntax

'Declaration
Public ReadOnly Property BaseStream As Stream
public Stream BaseStream { get; }
public:
property Stream^ BaseStream {
    Stream^ get ();
}
member BaseStream : Stream with get
function get BaseStream () : Stream

Property Value

Type: System.IO. . :: . .Stream
A Stream object.

Remarks

Use this property for explicit asynchronous I/O operations or to pass the SerialPort object to a Stream wrapper class such as StreamWriter.

.NET Framework Security

See Also

Reference

SerialPort Class

System.IO.Ports Namespace