語言

BitmapMetadata.ContainsQuery(String) 方法

定義

判斷某個查詢字串是否存在於物件中 BitmapMetadata 。

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

參數

query
String

識別目前物件中正在查詢 BitmapMetadata 的字串。

傳回

true如果查詢字串在元資料儲存庫中;否則,。 false

屬性

例外狀況

query 是 null。

備註

與影像相關的元資料是指描述影像但並非顯示影像所必需的資料。 每種支援的點陣圖影像格式處理元資料的方式不同,但讀寫元資料的功能相同。

Windows Presentation Foundation(WPF)支援以下影像元資料架構:可交換影像檔案(Exif)、tEXt(PNG 文字資料)、影像檔案目錄(IFD)、國際新聞電信理事會(IPTC)及可擴充元資料平台(XMP)。

適用於

另請參閱