Azure.Storage.BlobStorage.DeleteBlob C# (CSharp) Method

DeleteBlob() public method

Deletes the block blob with the given unique blob name
public DeleteBlob ( string blobId ) : void
blobId string The unique block blob identifier
return void
        public void DeleteBlob(string blobId)
        {
            var blob = cloudBlobContainer.GetBlockBlobReference(blobId);
            blob.DeleteIfExists();
        }