ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Editing.Attributes Namespace / Inspector Class / AddAttributeAsync Method / AddAttributeAsync(String,MapMember,String,Boolean,String) Method
String specifying the field alias to be displayed
Layer or table to read schema from.
String specifying the field name or alias
If the string being passed is the alias
A tooltip to show

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

    Parameters

    fieldAlias
    String specifying the field alias to be displayed
    member
    Layer or table to read schema from.
    fieldNameOrAlias
    String specifying the field name or alias
    isAlias
    If the string being passed is the alias
    tooltip
    A tooltip to show

    Return Value

    A Task returning an attribute.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also