BlogEngine.Core.Providers.BlogProvider.DeletePost C# (CSharp) Méthode

DeletePost() public abstract méthode

Deletes a Post from the data store specified by the provider.
public abstract DeletePost ( Post post ) : void
post Post /// The post to delete. ///
Résultat void
        public abstract void DeletePost(Post post);

Usage Example

 /// <summary>
 /// Deletes the specified Post from the current provider.
 /// </summary>
 public static void DeletePost(Post post)
 {
     LoadProviders();
     _provider.DeletePost(post);
 }