ArcObjects Library Reference (Carto)  

IGpsConnection.CommPort Property

The communications port connected to the GPS receiver. Starts with 1 = COM1, and increases (i.e., 2 = COM2, 3 = COM3, etc.). Defaults to 1.

[Visual Basic .NET]
Public Property CommPort As Short
[C#]
public short CommPort {get; set;}
[C++]
HRESULT get_CommPort(
  short* pNumber
);
[C++]
HRESULT put_CommPort(
  short pNumber
);
[C++]

Parameters

pNumber [out, retval]   pNumber is a parameter of type short pNumber [in]   pNumber is a parameter of type short

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGpsConnection Interface