Share via


ComPortCollection.IsPortNull Method

Indicates whether the specified COM port is in the current collection.

Namespace: Microsoft.SPOT.Emulator.Com
Assembly: Microsoft.SPOT.Emulator (in microsoft.spot.emulator.dll)

Syntax

 protected bool IsPortNull (
         ComPortNum portType
)

Parameters

  • portType
    A value of the ComPortNum enumeration that specifies the COM port you want to look for in the current collection.

Return Value

true if the specified port is not in the current collection; otherwise, false.

Version Information

Available in .NET Micro Framework version 2.0

See Also

Reference

ComPortCollection Class
ComPortCollection Members
Microsoft.SPOT.Emulator.Com Namespace