| Parameter | Description |
|---|---|
| metadata | The item to remove. |
bool
true if the item was present and removed; otherwise, false.
Removes a specific metadata item from the collection.
The item is removed by reference, so pass the same instance that was added.
<para>Remove a previously added metadata item.</para>
using Unity.Localization;
namespace Unity.Localization.Samples { public class MetadataCollectionRemoveMetadataExample { public bool Run(MetadataCollection metadata, IMetadata item) => metadata.RemoveMetadata(item); } }