How to retrieve file property "Tags"?

SmilingMoon 986 Reputation points
2020-12-30T03:28:14.973+00:00

52182-2020-12-29-19-26-00-c-users-yjkim-pictures-test-so.png

File contains "Tags" like above and File explorer allows me to update.
However, I cannot find a way to retrieve and update Tags property via StorageFile or uwp.

Anyone know this?

Developer technologies | Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Answer accepted by question author
  1. SmilingMoon 986 Reputation points
    2020-12-30T04:16:51.28+00:00

    Found a solution.

            ImageProperties toImgPr = await copyToFile.Properties.GetImagePropertiesAsync();
            toImgPr.Keywords.Add("Wow"); //These values are saved to "Tags"
            toImgPr.Keywords.Add("Today");
            await toImgPr.SavePropertiesAsync();
    

    Thank you,

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.