Exemple #1
0
 string?IAccessibleInternal.get_accKeyboardShortcut(object childID)
 => publicIAccessible.get_accKeyboardShortcut(childID);
        private static string GetKeyboardShortcut(IAccessible acc, int idChild)
        {
            try
            {
                return FixBstr(acc.get_accKeyboardShortcut(idChild));
            }
            catch (Exception e)
            {
                if (HandleIAccessibleException(e))
                {
                    throw;
                }

                return "";
            }
        }
 public void UpdateKeyboardShortcut()
 {
     KeyboardShortcut = IAccessible.get_accKeyboardShortcut(ChildId);
 }
 string UnsafeNativeMethods.IAccessibleInternal.get_accKeyboardShortcut(object childID)
 {
     IntSecurity.UnmanagedCode.Assert();
     return(publicIAccessible.get_accKeyboardShortcut(childID));
 }