Project::Save Method (String^)

 

Saves the project or project item.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

void Save(
	String^ FileName = ""
)

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.

No code example is currently available or this language may not be supported.
Return to top
Show: