DeleteCategory() public abstract method

Deletes a Category from the data store specified by the provider.
public abstract DeleteCategory ( Category category ) : void
category Category /// The category to delete. ///
return void
示例#1
0
 /// <summary>
 /// Deletes the specified Category from the current provider.
 /// </summary>
 public static void DeleteCategory(Category category)
 {
     LoadProviders();
     _provider.DeleteCategory(category);
 }