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


IMetadata.Metadata Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IMetadata.Metadata Property

The PropertySet containing metadata.

[Visual Basic .NET]
Public Property Metadata As IPropertySet
[C#]
public IPropertySet Metadata {get; set;}
[C++]
HRESULT get_Metadata(
  IPropertySet** PropertySet
);
[C++]
HRESULT put_Metadata(
  IPropertySet* PropertySet
);
[C++]

Parameters PropertySet [out, retval]
PropertySet is a parameter of type IPropertySet PropertySet [in]
PropertySet is a parameter of type IPropertySet

Product Availability

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

Remarks

The variable to hold the data must be of IPropertySet data type.

The metadata property is frequently used to save, or update, changes to metadata documents that have taken place through methods available on the IPropertySet, IXmlPropertySet, and/or IXmlPropertySet2 interfaces.

See Also

IMetadata Interface

.NET Samples

TOCControl metadata viewer (Code Files: MetadataViewer)