更新 : 2007 年 11 月
メタデータ照会言語を使用してビットマップのメタデータを読み取る方法を次の例に示します。サンプル全体については、「BitmapMetadata のサンプル」を参照してください。
使用例
' Add the metadata of the bitmap image to the text block.
Dim myTextBlock As New TextBlock()
myTextBlock.Text = "The Description metadata of this image is: " + pngInplace.GetQuery("/Text/Description").ToString()
// Add the metadata of the bitmap image to the text block.
TextBlock myTextBlock = new TextBlock();
myTextBlock.Text = "The Description metadata of this image is: " + pngInplace.GetQuery("/Text/Description").ToString();