我正在尝试在visual studio 2012中开发一个win 8应用程序,它实现了搜索合同.为了启用搜索功能,我添加了"搜索窗格"元素.但在运行应用程序时,我得到一个例外
"Element not found. (Exception from HRESULT: 0x80070490)"
Run Code Online (Sandbox Code Playgroud)
代码 -
this.searchPane = SearchPane.GetForCurrentView()
Run Code Online (Sandbox Code Playgroud)
任何人都可以告诉我这是什么问题和解决方案.