Project::Save Method (String^)
Visual Studio 2015
Saves the project or project item.
Assembly: EnvDTE (in EnvDTE.dll)
Parameters
- FileName
-
Type:
System::String^
Optional. The name in which to save the project or project item.
If FileName cannot be written, such as when the disk is full or when there are write permission problems, then Save produces an error. The file is saved with a new name based on FileName.
Important Save closes the document after it is saved. The object will need to be re-opened or re-initialized if it is used again.
This example works only in Visual Studio .NET 2003 and later versions. For more information, see How to: Programmatically Create Projects.
Show: