ArcGIS Pro 2.6 API Reference Guide
Item(String) Property

ArcGIS.Core.Data Namespace > RowBuffer Class > Item Property : Item(String) Property
The attribute name or alias name of the field.
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 10, Windows 8.1, Windows 7

See Also

Reference

RowBuffer Class
RowBuffer Members
Overload List