VsShellUtilities.SaveFileIfDirty Method

Include Protected Members
Include Inherited Members

Saves the specified file if it is dirty.

Overload List

  Name Description
Public methodStatic member SaveFileIfDirty(IVsTextView) If the file is dirty, saves it in the specified text view.
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