/// <summary> /// Change the current view using an ID returned from GetSupportedViews() /// </summary> /// /// <outside_see conditional="false"> /// This API does not work inside the secure execution environment. /// <exception cref="System.Security.Permissions.SecurityPermission"/> /// </outside_see> public void SetCurrentView(int viewId) { UiaCoreApi.MultipleViewPattern_SetCurrentView(_hPattern, viewId); }