FreeImage.NET Class Library Reference
MetadataModelRegexSearch Method |
Searches for a pattern in each metadata tag and returns the result as a list.
Namespace: FreeImageAPI.Metadata
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public List<MetadataTag> RegexSearch( string searchPattern, MD_SEARCH_FLAGS flags )
Parameters
- searchPattern
- Type: SystemString
The regular expression to use for the search. - flags
- Type: FreeImageAPIMD_SEARCH_FLAGS
A bitfield that controls which fields should be searched in.
Return Value
Type: ListMetadataTagA list containing all found metadata tags.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | searchPattern is null. |
ArgumentException | searchPattern is empty. |
See Also