Share via


GetSupportBaudRates Method

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

Gets all the baud rates supported by a specified COM port.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Public Overridable Sub GetSupportBaudRates ( _
    com As Integer, _
    <OutAttribute> ByRef StdBaudRate As BaudRate(), _
    <OutAttribute> ByRef size As Integer _
)
public virtual void GetSupportBaudRates(
    int com,
    out BaudRate[] StdBaudRate,
    out int size
)
public:
virtual void GetSupportBaudRates(
    int com, 
    [OutAttribute] array<BaudRate>^% StdBaudRate, 
    [OutAttribute] int% size
)
abstract GetSupportBaudRates : 
        com:int * 
        StdBaudRate:BaudRate[] byref * 
        size:int byref -> unit 
override GetSupportBaudRates : 
        com:int * 
        StdBaudRate:BaudRate[] byref * 
        size:int byref -> unit 
public function GetSupportBaudRates(
    com : int, 
    StdBaudRate : BaudRate[], 
    size : int
)

Parameters

  • com
    Type: System. . :: . .Int32
    The number of the COM port for which to obtain all supported baud rates.

.NET Framework Security

See Also

Reference

HardwareProvider Class

Microsoft.SPOT.Hardware Namespace