Parameters
- fieldName
- The attribute name or alias name of the field.
Exception | Description |
---|---|
System.NotSupportedException | This table/feature does not support this operation. For example, it is from a joined table. |
ArcGIS.Core.Data.Exceptions.GeodatabaseException | A geodatabase-related exception has occurred. For example, fieldName is invalid or does not exist. |
ArcGIS.Core.Geometry.Exceptions.GeometryException | The index of fieldName corresponds to a shape field index and the type of shape (i.e., geometry) is not supported. |
var val = row[field.Name]; if (val is DBNull || val == null) { // field value is null } else { // field value is not null }
Target Platforms: Windows 11, Windows 10, Windows 8.1