This document is archived and information here might be outdated.  Recommended version.


IGpsConnection.CommPort Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGpsConnection Interface > IGpsConnection.CommPort Property
ArcGIS Developer Help

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(
  System.Int16* 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