ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data Namespace / RowBuffer Class / Item Property / Item(String) Property
The attribute name or alias name of the field.

In This Topic
    Item(String) Property
    In This Topic
    Gets and sets the value of a field given its attribute name or alias name. This indexer must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public object Item( 
       string fieldName
    ) {get; set;}
    Public Overloads Property Item( _
       ByVal fieldName As String _
    ) As Object

    Parameters

    fieldName
    The attribute name or alias name of the field.

    Property Value

    The value of the field.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred. For example, fieldName is invalid or does not exist.
    The index of fieldName corresponds to a shape field index and the type of shape (i.e., geometry) is not supported.
    Remarks
    fieldName can be either an attribute name or alias name. If fieldName does not exist as an attribute name, it will be treated as an alias name. If the alias name still does not exist, an exception will be thrown.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also