-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.Core.CoreApplication.GetCurrentView |
winrt method |
Gets the view corresponding to the current thread.
The view corresponding to the current thread. If no such view exists, then the method fails.
A CoreApplicationView is an app window and its thread.
This API is supported in native apps only.