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, Windows 8.1
ArcGIS Pro version: 2.1 or higher.