Share via


VsShellUtilities.SaveFileIfDirty Method

Include Protected Members
Include Inherited Members

Saves the specified file if it is dirty.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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

Microsoft.VisualStudio.Shell Namespace