//------------------------------------------------------ // // Public Methods // //------------------------------------------------------ #region Public Methods /// <summary> /// The string view name string must be suitable for use by TTS, Braille, etc. /// </summary> /// <param name="viewId"> /// The view ID corresponding to the control's current state. This ID is control-specific and can should /// be the same across instances. /// </param> /// <returns>Return a localized, human readable string in the application's current UI language.</returns> /// /// <outside_see conditional="false"> /// This API does not work inside the secure execution environment. /// <exception cref="System.Security.Permissions.SecurityPermission"/> /// </outside_see> public string GetViewName(int viewId) { return(UiaCoreApi.MultipleViewPattern_GetViewName(_hPattern, viewId)); }