This document is archived and information here might be outdated.  Recommended version.


IMetadataSynchronizer.Update Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IM > IMetadataSynchronizer Interface > IMetadataSynchronizer.Update Method
ArcGIS Developer Help

IMetadataSynchronizer.Update Method

Updates the metadata item using the value passed in.

[Visual Basic .NET]
Public Sub Update ( _
    ByVal PropertySet As IXmlPropertySet, _
    ByVal itemDesc As String, _
    ByVal Value As Object _
)
[C#]
public void Update (
    IXmlPropertySet PropertySet,
    string itemDesc,
    object Value
);
[C++]
HRESULT Update(
  IXmlPropertySet* PropertySet,
  BSTR itemDesc,
  VARIANT Value
);
[C++]
Parameters
PropertySet [in]

PropertySet is a parameter of type IXmlPropertySet* itemDesc [in]
itemDesc is a parameter of type BSTR Value [in]
Value is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

This method is used to define the structure of the metadata that is written during synchronization. It is called once for each property of the dataset during synchronization. The method requires three parameters; pPropertySet, itemDesc, and Value.

Remarks

The pPropertySet parameter is an XML property set representing the metadata of the dataset being synchronized.

The itemDesc string parameter describes what object is being passed in the Value parameter.

The Value parameter  is an object of the datasets whose metadata is being synchronized.

The different objects passed to the Update method, the Value parameter, vary from the type of dataset that is being synchronized. Not all itemDesc are supported for all data types. For instance, CoverageEntity objects only apply to ArcGIS for Desktop Advanced coverages and ArcGIS for Desktop Advanced tables.

A complete list of the expected Values for the supported itemDesc items is available in the Technical Paper "Creating a Custom Metadata Synchronizer," May 2001.

See Also

IMetadataSynchronizer Interface