|
Sets the Metadata content for an existing resource.
.NET Syntax
virtual void SetResourceMetadata(MgResourceIdentifier resource, MgByteReader content);
|
Java Syntax
virtual void SetResourceMetadata(MgResourceIdentifier resource, MgByteReader content);
|
PHP Syntax
virtual void SetResourceMetadata(MgResourceIdentifier resource, MgByteReader content);
|
- Parameters:
-
| resource | (MgResourceIdentifier) The resource in the repository that gets metadata attached to. Note the resource has to exist else this method fails
The extension of the location must match one of the types defined in MgResourceType . It is case sensitive. |
| content | (MgByteReader) The metadata content in XML format. This can be set to null, in which case the content is cleared. |
The schema of the Content is user driven and not given. Most people will use it for FGDC or ISO Metadata.
- Returns:
- Returns nothing.
- Exceptions:
-
- See also:
- GetMetadata
|