ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing.Attributes Namespace / Inspector Class / AddAttributeAsync Method / AddAttributeAsync(MapMember,String,Boolean) Method
mapMember
String specifying the field name or alias
If the string being passed is the alias

In This Topic
    AddAttributeAsync(MapMember,String,Boolean) Method
    In This Topic
    Add an attribute to the feature inspector by mapmember and field name or field alias.
    Syntax
    Public Overloads Function AddAttributeAsync( _
       ByVal member As MapMember, _
       ByVal fieldNameOrAlias As String, _
       Optional ByVal isAlias As Boolean _
    ) As Task(Of Attribute)

    Parameters

    member
    mapMember
    fieldNameOrAlias
    String specifying the field name or alias
    isAlias
    If the string being passed is the alias

    Return Value

    A Task returning an Attribute.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also