What is the difference between CanEditData() and IsEditable?

186
0
02-26-2024 06:48 AM
Amadeus111
Occasional Contributor II

I need to check if a FeatureLayer editable and convey a message to the user if editing fails for a feature. I would like to show a meaningful reason why the FeatureLayer is not editable. 

I thought CanEditData() returns false for only if user unchecks editable checkbox on Contents pane but that is not I found out. So, what is the difference between these two other than one is method, the other is property? They basically check the same thing? 

 

0 Replies