chral647

Accessing Folder Metadata

Discussion created by chral647 on Apr 30, 2014
Hello.

I can access the metadata of for example a shapefile using:
IGPUtilities gpUtils = new GPUtilitiesClass();
IName nameObj = gpUtils.GetNameObjectFromLocation(filePath);
IMetadata metadata = nameObj as IMetadata;
IPropertySet props = metadata.Metadata

But how should I access the metadata of a folder (containing a metadata.xml file) or a stand-alone XML metadata file?

Is there a generic way to access metadata for any data element?


Thanks!

Outcomes