ArcGIS Pro 2.8 API Reference Guide
IMetadata Interface
Members  Example 

ArcGIS.Desktop.Core Namespace : IMetadata Interface
Implemented by items that support metadata
Syntax
public interface IMetadata 
Public Interface IMetadata 
Example
Item gdbItem = ItemFactory.Instance.Create(@"C:\projectAlpha\GDBs\regionFive.gdb");
IMetadata gdbMetadataItem = gdbItem as IMetadata;
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

IMetadata Members
ArcGIS.Desktop.Core Namespace