Adds a list of tags to the bitmap or updates their values in case they already exist.
Key will be used as key.
Namespace:
FreeImageAPI.MetadataAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public int AddTag( IEnumerable<MetadataTag> list ) |
| Visual Basic (Declaration) |
|---|
Public Function AddTag ( _ list As IEnumerable(Of MetadataTag) _ ) As Integer |
| Visual C++ |
|---|
public: int AddTag( IEnumerable<MetadataTag^>^ list ) |
Parameters
- list
- Type: System.Collections.Generic..::.IEnumerable<(Of <(MetadataTag>)>)
A list of tags to add or update.
Return Value
Returns the number of successfully added tags.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | list is null. |