How do i set a file existing in a library as a new version of another file in an event receiver?
E.g : i have two files in my SP library named "File.doc" and "File.pdf". I want the File.pdf to become the new version of the.doc one. and so, in my view i can only see the File.pdf, but no more File.doc. The File.doc will be in the list of old versions of File.pdf