title: Cleaning existing images in PersonPicture WinRT/C++
body: <p>In my application, there are two functions to add and clean image in <code>PersonPicture</code>. However, I don't know of a way to clean up the image that has been added in the <code>PersonPicture</code>. <strong>So, how to clean the image that has been added in the <code>PersonPicture</code>?</strong></p>
  <p>Example of the code.</p>
  <pre><code>// Xaml file
  &lt;PersonPicture x:Name=&quot;UserProfile&quot;/&gt;
  
  // Cpp file
  void MyPage::AddImage(hstring const&amp; path)
  {
      Windows::UI::Xaml::Media::Imaging::BitmapImage bitmap{ Windows::Foundation::Uri(path) };
      UserProfile().ProfilePicture(bitmap);
  }
  
  void MyPage::ClearImage()
  {
      // Clean up the image that has been added in PersonPicture.
      // However,
      // How to do that here?
  }
  </code></pre>