Parameters
- xml
Return Value
void
await QueuedTask.Run(() => { var xml = System.IO.File.ReadAllText(@"E:\Data\Metadata\MetadataForFeatClass.xml"); //Will throw InvalidOperationException if the metadata cannot be changed //so check "CanEdit" first if (featureClassMetadataItem.CanEdit()) featureClassMetadataItem.SetXml(xml); });
Target Platforms: Windows 11, Windows 10