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.
- StdBaudRate
Type: array<System.IO.Ports. . :: . .BaudRate> [] () [] []%
An array of values that are supported by the specifed COM port.
- size
Type: System. . :: . .Int32%
The number of values in the StdBaudRate array.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.