ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing.Templates Namespace / AttributeDef Class / AttributeDef Constructor / AttributeDef Constructor(String,String,Double,Boolean,Double,Double,Boolean)
a unique identifier
a localizable AttributeDef name that may appear in a GUI
the default attribute value if otherwise unspecified
true if the value can be null, false otherwise
true if the value must be in meters, false otherwise
Version

AttributeDef Constructor(String,String,Double,Boolean,Double,Double,Boolean)
Creates an AttributeDef
Syntax

Parameters

id
a unique identifier
name
a localizable AttributeDef name that may appear in a GUI
defaultValue
the default attribute value if otherwise unspecified
isNullable
true if the value can be null, false otherwise
minValue
maxValue
unitAsMeters
true if the value must be in meters, false otherwise
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also