AcManager.Controls.Helpers.AppShortcut.DeleteShortcut C# (CSharp) Méthode

DeleteShortcut() public static méthode

public static DeleteShortcut ( ) : void
Résultat void
        public static void DeleteShortcut() {
            if (File.Exists(ShortcutLocation)) {
                File.Delete(ShortcutLocation);
                CreateShortcutCommand.RaiseCanExecuteChanged();
                DeleteShortcutCommand.RaiseCanExecuteChanged();
            }
        }