ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Realtime Namespace / RealtimeFeature Class / Item Property / Item(Int32) Property
The index of the field.

In This Topic
    Item(Int32) Property
    In This Topic
    Gets and sets the value of a field given its index position. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public override object Item( 
       int index
    ) {get;}
    Public Overloads Overrides NotOverridable ReadOnly Property Item( _
       ByVal index As Integer _
    ) As Object

    Parameters

    index
    The index of the field.

    Property Value

    The value of the field.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    index corresponds to a shape field index and the type of shape (i.e., geometry) is not supported.
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    The index for the fields is zero based. If the ArcGIS.Core.Data.Field.FieldType corresponding to the specified field index is ArcGIS.Core.Data.FieldType.Blob, the value will be System.IO.MemoryStream.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also