I need to be able to delete specific version of a documents. 
I would like to modify the VersionsList control - add an icon between the "display" and "download" icons, which would cause a deletion of the corresponding document version. But I can't find the correct command that should be inserted instead of XXXX in the following code:
   | 
       
    | 
Could you please give me the commands for Delete and Hard delete? Will this be enough or does it need more programming?
Thanks!