Share via


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

  • 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

See Also

Reference

HardwareProvider Class

Microsoft.SPOT.Hardware Namespace