ArcGIS Pro 2.9 API Reference Guide
SetEditable Method (IDisplayTable)

ArcGIS.Desktop.Mapping Namespace > IDisplayTable Interface : SetEditable Method
A boolean to toggle editability.
Enables or disables editing on a MapMember. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
void SetEditable( 
   bool isEditable
)
Sub SetEditable( _
   ByVal isEditable As Boolean _
) 

Parameters

isEditable
A boolean to toggle editability.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
Just setting it true will not make a MapMember editable unless you have permission to edit on data source level.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

IDisplayTable Interface
IDisplayTable Members