ArcGIS Pro 2.8 API Reference Guide
SetFieldDescriptions Method (BasicFeatureLayer)

ArcGIS.Desktop.Mapping Namespace > BasicFeatureLayer Class : SetFieldDescriptions Method
A list of FieldDescription.
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 10, Windows 8.1

See Also

Reference

BasicFeatureLayer Class
BasicFeatureLayer Members