ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Editing.Templates Namespace / AttributeDef Class / AttributeDef Constructor / AttributeDef Constructor(String,String,String,Boolean,IEnumerable<String>)
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

In This Topic
    AttributeDef Constructor(String,String,String,Boolean,IEnumerable<String>)
    In This Topic
    Creates an AttributeDef
    Syntax
    Public Function New( _
       ByVal id As String, _
       ByVal name As String, _
       ByVal defaultValue As String, _
       ByVal isNullable As Boolean, _
       ByVal allowedValues As IEnumerable(Of String) _
    )

    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
    allowedValues
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also