I am writing an ArcGIS Pro Plugin to allow user to read into a feature class and to write it back into a proprietary file format. This is only possible (due to restrictions in the file format) when the design of the feature class in not altered by the user.
Is it possible in a ArcGIS Pro .Net plugin to prevent that a user changes the design of a feature class in a file geodatabase?
No, this isn't possible with the Pro SDK. The best you could do is check to see if the feature class design meets your requirements.
--Rich
thanks Rich for the clear answer. Checking that the design is still OK is indeed the second best to prevent issues in the export.
A good approach is to handle editing events as explained and cancel the edit operation. This is clearly explained in ArcGIS Pro SDK for .NET: Beginning Editing with Focus on Edit Operation - YouTube (see 27:00 min).