VsShellUtilities.SaveFileIfDirty Method

Saves the specified file if it is dirty.

Overload List

  Name Description
Public methodStatic member SaveFileIfDirty(IVsTextView) Saves the file in the specified text view if it is dirty.
Public methodStatic member SaveFileIfDirty(IServiceProvider, String) Saves the specified file if it is dirty.

Top

See Also

Reference

VsShellUtilities Class

VsShellUtilities Members

Microsoft.VisualStudio.Shell Namespace