Redigera

Dela via


BitmapMetadata.ContainsQuery(String) Method

Definition

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

public:
 bool ContainsQuery(System::String ^ query);
[System.Security.SecurityCritical]
public bool ContainsQuery (string query);
public bool ContainsQuery (string query);
[<System.Security.SecurityCritical>]
member this.ContainsQuery : string -> bool
member this.ContainsQuery : string -> bool
Public Function ContainsQuery (query As String) As Boolean

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

See also