MetadataModel.RegexSearch Method

FreeImage.NET

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: ListMetadataTag
A list containing all found metadata tags.
Exceptions
ExceptionCondition
ArgumentNullExceptionsearchPattern is null.
ArgumentExceptionsearchPattern is empty.
See Also