BitmapMetadata.ContainsQuery(String) Method

Definition

Determines whether a given query string exists within a BitmapMetadata object.

C#
[System.Security.SecurityCritical]
public bool ContainsQuery(string query);
C#
public bool ContainsQuery(string query);

Parameters

query
String

Identifies the string that is being queried in the current BitmapMetadata object.

Returns

true if the query string is found within the metadata store; otherwise, false.

Attributes

Exceptions

query is null.

Remarks

Metadata that is associated with an image is data that describes the image but that is not necessary for display of the image. Each supported bitmap image format handles metadata differently, but the facility for reading and writing metadata is the same.

Windows Presentation Foundation (WPF) supports the following image metadata schemas: Exchangeable image file (Exif), tEXt (PNG Textual Data), image file directory (IFD), International Press Telecommunications Council (IPTC), and Extensible Metadata Platform (XMP).

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also