Share via


ServerDocument.IDisposable.Dispose Method

Releases all resources used by the ServerDocument.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.ServerDocument (in Microsoft.VisualStudio.Tools.Applications.ServerDocument.dll)

Syntax

'Declaration
Private Sub Dispose Implements IDisposable.Dispose
void IDisposable.Dispose()

Implements

IDisposable.Dispose()

Remarks

Do not call the IDisposable.Dispose method directly in your own code. When you are finished using the ServerDocument, call the Close method instead. IDisposable.Dispose is called automatically when you call the Close method.

.NET Framework Security

See Also

Reference

ServerDocument Class

Microsoft.VisualStudio.Tools.Applications Namespace

Other Resources

Cleaning Up Unmanaged Resources

Implementing a Dispose Method