XmlStore.Dispose Method ()


Releases all resources used by the current instance of the XmlStore class.

Namespace:   Microsoft.VisualStudio.XmlEditor
Assembly:  Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)


public abstract void Dispose()
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.

For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.


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.

See Also

XmlStore Class
Microsoft.VisualStudio.XmlEditor Namespace

Return to top