/// <summary> /// Adds current element to selection /// </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 AddToSelection() { UiaCoreApi.SelectionItemPattern_AddToSelection(_hPattern); }