ArcObjects Library Reference (TrackingAnalyst)  

ITrackingEnvironment.IsRunningInArcMap Property

Indicates if the object is attached to ArcMap.

[Visual Basic .NET]
Public ReadOnly Property IsRunningInArcMap As Boolean
[C#]
public bool IsRunningInArcMap {get;}
[C++]
HRESULT get_IsRunningInArcMap(
  VARIANT_BOOL* pbvarIsRunningInArcMap
);
[C++]

Parameters

pbvarIsRunningInArcMap [out, retval]   pbvarIsRunningInArcMap is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also

ITrackingEnvironment Interface