BitmapMetadata.ContainsQuery(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈