VsShellUtilities::SaveFileIfDirty Method (IVsTextView^)

 

If the file is dirty, saves it in the specified text view.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
static void SaveFileIfDirty(
	IVsTextView^ view
)

Parameters

view
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextView^

The IVsTextView interface of the file to be saved.

Return to top
Show: