ArcObjects Library Reference (GeoDatabase)  

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 data sets whose metadata is being synchronized.

The different objects passed to the Update method, the Value parameter, vary from type of data set that is being synchronized. Not all itemDesc are supported for all data types. For instance CoverageEntity objects only apply to ArcInfo coverages and ArcInfo 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