ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / BasicFeatureLayer Class / SetFieldDescriptions Method
A list of FieldDescription.

In This Topic
    SetFieldDescriptions Method (BasicFeatureLayer)
    In This Topic
    Applies updates to the editable properties of fields. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetFieldDescriptions( 
       List<FieldDescription> updatedDescriptions
    )
    Public Sub SetFieldDescriptions( _
       ByVal updatedDescriptions As List(Of FieldDescription) _
    ) 

    Parameters

    updatedDescriptions
    A list of FieldDescription.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    If you want to change field alias, formats, visibility etc., use GetFieldDescriptions method to get fields, modify properties and apply them back.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also