ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / StandaloneTable Class / SetMetadata Method
The xml formatted metadata
Version

SetMetadata Method (StandaloneTable)
Sets the StandaloneTable metadata. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public override void SetMetadata( 
   string metadataXml
)

Parameters

metadataXml
The xml formatted metadata
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
There is a load or parse error in the XML
Metadata is missing metadata element
Remarks
The input xml must be a valid metadata document and, as a minimum, have a root <metadata> element. The StandaloneTable metadata must be editable. Refer to GetCanEditMetadata.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also