BitmapMetadata.ContainsQuery(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷某個查詢字串是否存在於物件中 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)。