XmlStore.Dispose Method ()
Releases all resources used by the current instance of the XmlStore class.
Assembly: Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)
public abstract void Dispose()
public: virtual void Dispose() abstract
abstract Dispose : unit -> unit
Public MustOverride Sub Dispose
Call Dispose when you are finished using the XmlStore. The Dispose method leaves the XmlStore in an unusable state. After calling Dispose, you must release all references to the XmlStore so that the garbage collector can reclaim the memory that the XmlStore was using.
Always call Dispose before you release your last reference to the XmlStore. Otherwise, the resources it is using will not be freed until the garbage collector calls the XmlStore object's Finalize method.
Return to top