DeleteProfile() public static méthode

Deletes a specific profile from the registry
public static DeleteProfile ( int id ) : void
id int
Résultat void
 private void Delete()
 {
     try
     {
         if (SelectedItem < 0)
         {
             return;
         }
         AWBProfiles.DeleteProfile(SelectedItem);
         loadProfiles();
     }
     finally
     {
         UpdateUI();
     }
 }