Hello.
I can access the metadata of for example a shapefile using:
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!
I can access the metadata of for example a shapefile using:
Code:
IGPUtilities gpUtils = new GPUtilitiesClass();
IName nameObj = gpUtils.GetNameObjectFromLocation(filePath);
IMetadata metadata = nameObj as IMetadata;
IPropertySet props = metadata.Metadata
Is there a generic way to access metadata for any data element?
Thanks!