Method Remove
Remove(string)
Removes the first metadata entry with the specified key from the collection.
public bool Remove(string key)
Parameters
keystringThe key of the metadata entry to remove.
Returns
- bool
trueif a metadata entry with the specified key was found and removed; otherwise,false.
Exceptions
- InvalidOperationException
The collection is read-only.
Remove(Metadata)
Removes the specified metadata entry from the collection.
public bool Remove(Metadata metadata)
Parameters
metadataMetadataThe metadata entry to remove.
Returns
- bool
trueif the metadata entry was found and removed; otherwise,false.
Exceptions
- InvalidOperationException
The collection is read-only.