ArcGIS Pro 2.6 API Reference Guide
GetTrackIDField Method (RealtimeFeatureClassDefinition)

ArcGIS.Core.Data.Realtime Namespace > RealtimeFeatureClassDefinition Class : GetTrackIDField Method
Gets the track ID field name. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public string GetTrackIDField()
Public Function GetTrackIDField() As String

Return Value

The name of track id field.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks

Values from this field indicate which track features belong to.

If the table has a TrackID field, then you can renderer previous observations with different symbology and/or draw lines by connecting those observation locations.

Also refer to ArcGIS.Deskop.Mapping.StreamLayer.SetPreviousObservationsRenderer and ArcGIS.Deskop.Mapping.StreamLayer.SetTrackLinesRenderer for more details.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

RealtimeFeatureClassDefinition Class
RealtimeFeatureClassDefinition Members