VsShellUtilities::SaveFileIfDirty Method (IServiceProvider^, String^)

 

Saves the specified file if it is dirty.

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

public:
static void SaveFileIfDirty(
	IServiceProvider^ site,
	String^ fullPath
)

Parameters

site
Type: System::IServiceProvider^

IServiceProvider.

fullPath
Type: System::String^

The absolute path of the file.

Return to top
Show: