Yes, It will. I have tested and also see WinUI-Gallery.
MainWindow::MainWindow()
:m_bookSkus(winrt::single_threaded_observable_vector<IInspectable>())
//, gIdMap(single_threaded_observable_map<int, Microsoft::UI::Xaml::IUIElement>())
, gIdMap(single_threaded_observable_map<int, IInspectable>())
{
InitializeComponent();
App1::BookSku p = make<winrt::App1::implementation::BookSku>();
gIdMap.Insert(1, p);
}
void MainWindow::myButton_Click(IInspectable const& a, RoutedEventArgs const&)
{
myButton().Content(box_value(L"Clicked"));
gIdMap.Remove(1);
}