ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / FeatureLayer Class / TrackIdFieldName Property
Example

In This Topic
    TrackIdFieldName Property (FeatureLayer)
    In This Topic
    Gets the name of the TrackId field.
    Syntax
    Public ReadOnly Property TrackIdFieldName As String
    public string TrackIdFieldName {get;}
    Example
    Get the Track Id Field
    {
      if (streamLayer.IsTrackAware)
      {
        var trackField = streamLayer.TrackIdFieldName;
        //TODO use the field name
      }
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also