Return Value
true if this table has a field containing track ids; otherwise, false.
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
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.
using (var rfc = streamLayer.GetFeatureClass()) using (var rfc_def = rfc.GetDefinition()) { if (rfc_def.HasTrackIDField()) { //Track aware } }
//Must be on QueuedTask using (var rfc = streamLayer.GetFeatureClass()) using (var rfc_def = rfc.GetDefinition()) { if (rfc_def.HasTrackIDField()) { var fld_name = rfc_def.GetTrackIDField(); } }
Target Platforms: Windows 11, Windows 10