IsSupportedBaudRate Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines whether a specified baud rate is supported by a specified COM port.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)
Syntax
'Declaration
Public Overridable Function IsSupportedBaudRate ( _
com As Integer, _
ByRef baudrateHz As UInteger _
) As Boolean
public virtual bool IsSupportedBaudRate(
int com,
ref uint baudrateHz
)
public:
virtual bool IsSupportedBaudRate(
int com,
unsigned int% baudrateHz
)
abstract IsSupportedBaudRate :
com:int *
baudrateHz:uint32 byref -> bool
override IsSupportedBaudRate :
com:int *
baudrateHz:uint32 byref -> bool
public function IsSupportedBaudRate(
com : int,
baudrateHz : uint
) : boolean
Parameters
- com
Type: System. . :: . .Int32
The COM port in question.
- baudrateHz
Type: System. . :: . .UInt32%
The baud rate, in Hertz, to find out whether the specified COM port supports.
Return Value
Type: System. . :: . .Boolean
true if the COM port supports the specified baud rate, or false otherwise.
.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.