how to dispoes the xmlDocument object

Dec 4 2010 7:26 AM
i am creating the xml documet with the xmlDocumet class object and i save it in the local folder  and send that to the mail add as attachment after sending the mail i am delete that file but at the deletion it throws the error that is

that is used by another process you can't access but the xmlDocument object have not any dispose or finalize method then how to dispose that xmlDocument Object

Answers (2)