HOW TO
This article shows how to modify a metadata element in ArcCatalog using ArcObjects.
Code:
Sub ModifyMetadata()
Dim pGxApp As IGxApplication
Dim pGxObj As IGxObject
Dim pMD As IMetadata
Dim pPS As IPropertySet
Set pGxApp = Application
Set pGxObj = pGxApp.SelectedObject
Set pMD = pGxObj
Set pPS = pMD.Metadata
'Modify the abstract metadata element
pPS.SetProperty "idinfo/descript/abstract", "This is a test."
pMD.Metadata = pPS
End Sub
Get help from ArcGIS experts
Download the Esri Support App