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


IMetadataImport.Import Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Catalog > ESRI.ArcGIS.Catalog > Interfaces > IM > IMetadataImport Interface > IMetadataImport.Import Method
ArcGIS Developer Help

IMetadataImport.Import Method

Imports metadata from the specified location.

[Visual Basic .NET]
Public Sub Import ( _
    ByVal source As String, _
    ByVal destination As IMetadata _
)
[C#]
public void Import (
    string source,
    IMetadata destination
);

Product Availability

Available with ArcGIS Desktop.

Remarks

The Import method uses the document specified as the source parameter metadata for the destination ArcGIS item. The destination object must be of type IMetadata. If the destination object already has metadata it will be entirely replaced by the imported information.

This method can be used to provide a foundation for metadata, that is by importing information such as contact and distribution information that is the same for many items. This can help to reduce input errors for common information. Letting ArcGIS automatically update the imported content further eliminates many additional steps when creating an item�s metadata.

 

See Also

IMetadataImport Interface