BitmapMetadata.ContainsQuery Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

[SecurityCriticalAttribute]
public bool ContainsQuery(
	string query
)

Parameters

query
Type: System.String

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

Return Value

Type: System.Boolean

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

Exception Condition
ArgumentNullException

query is null.

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).

.NET Framework
Available since 3.0
Return to top
Show: