Bearbeiten

Teilen über


BitmapMetadata.RemoveQuery(String) Method

Definition

Removes a metadata query from an instance of BitmapMetadata.

public:
 void RemoveQuery(System::String ^ query);
[System.Security.SecurityCritical]
public void RemoveQuery (string query);
public void RemoveQuery (string query);
[<System.Security.SecurityCritical>]
member this.RemoveQuery : string -> unit
member this.RemoveQuery : string -> unit
Public Sub RemoveQuery (query As String)

Parameters

query
String

The metadata query to remove.

Attributes

Exceptions

query is null.

Occurs when image metadata is read-only.

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