Question Dispose or Close

teddy.frm

Member
Joined
Jan 3, 2014
Messages
5
Programming Experience
3-5
Hello all
I'm a newbie. What's the difference between Me.Close and Me.Dispose ?
Thanks
 
Dispose is a method that all objects that implement the IDisposable interface. Some classes also have a Close method when it is logical for them to do so. Almost universally, a Close method will call the Dispose method and possibly more besides. If there is a Close method then call it, otherwise call Dispose.
 
Back
Top