ArcGIS Pro 2.7 API Reference Guide
Item(String) Property

ArcGIS.Core.Data Namespace > Row 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
This table/feature does not support this operation. For example, it is from a joined table.
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. Furthermore, if the Field.FieldType corresponding to the specified fieldName is FieldType.Blob, the value will be System.IO.MemoryStream.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Row Class
Row Members
Overload List