public void UpgradeMetadata( MDUpgradeOption upgradeOption )
Public Sub UpgradeMetadata( _ ByVal upgradeOption As MDUpgradeOption _ )
Parameters
- upgradeOption
public void UpgradeMetadata( MDUpgradeOption upgradeOption )
Public Sub UpgradeMetadata( _ ByVal upgradeOption As MDUpgradeOption _ )
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
var fgdcItem = ItemFactory.Instance.Create(@"C:\projectAlpha\GDBs\testData.gdb"); await QueuedTask.Run(() => fgdcItem.UpgradeMetadata(MDUpgradeOption.esriUpgradeFgdcCsdgm));
Target Platforms: Windows 11, Windows 10