CanEdit Method (IMetadata)
Return Value
true if the metadata can be edited
Item: Check the metadata can be edited: CanEdit
bool canEdit1;
//Call CanEdit before calling SetXml
await QueuedTask.Run(() => canEdit1 = metadataItemToCheck.CanEdit());
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3 or higher.