ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data Namespace / Feature 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; set;}
    Public Overloads Overrides 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.
    Remarks
    The index for the fields is zero based. If the Field.FieldType corresponding to the specified field index is FieldType.Blob, the value will be System.IO.MemoryStream.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also