ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.Realtime Namespace / RealtimeFeatureClassDefinition Class
Members Example

In This Topic
    RealtimeFeatureClassDefinition Class
    In This Topic
    Represents the schema and properties of a RealtimeFeatureClass.
    Object Model
    RealtimeFeatureClassDefinition ClassEnvelope ClassSpatialReference Class
    Syntax
    public abstract class RealtimeFeatureClassDefinition : ArcGIS.Core.Data.FeatureClassDefinition, System.IDisposable  
    Public MustInherit Class RealtimeFeatureClassDefinition 
       Inherits ArcGIS.Core.Data.FeatureClassDefinition
       Implements System.IDisposable 
    Example
    Check the Realtime Feature Class is Track Aware
    using (var rfc = streamLayer.GetFeatureClass())
    using (var rfc_def = rfc.GetDefinition())
    {
      if (rfc_def.HasTrackIDField())
      {
        //Track aware
      }
    }
    
    Get the Track Id Field from the Realtime Feature class
    //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();
    
      }
    }
    
    Inheritance Hierarchy

    System.Object
       ArcGIS.Core.CoreObjectsBase
          ArcGIS.Core.Data.Definition
             ArcGIS.Core.Data.TableDefinition
                ArcGIS.Core.Data.FeatureClassDefinition
                   ArcGIS.Core.Data.Realtime.RealtimeFeatureClassDefinition
                      ArcGIS.Core.Data.Realtime.StreamServiceFeatureClassDefinition

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also