Gets the Metadata content of a resource.
.NET Syntax
|
MgByteReader GetResourceMetadata(MgResourceIdentifier resource);
|
Java Syntax
|
MgByteReader GetResourceMetadata(MgResourceIdentifier resource);
|
PHP Syntax
|
MgByteReader GetResourceMetadata(MgResourceIdentifier resource);
|
- Parameters:
-
| resource | (MgResourceIdentifier) The resource in the repository which has metadata attached to it. Note the resource has to exist else this method fails. |
- Returns:
- The metadata content in XML format. This can null in which case the resource has no metadata attached. The schema of the Content is user driven and not given. Most people will use it for FGDC or ISO Metadata.
- Exceptions:
-
- See also:
- SetResourceMetadata