This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGpsConnection Interface > IGpsConnection.CommPort Property (ArcObjects .NET 10.4 SDK) |
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