ProjectItem::SaveAs Method (String^)

 

Saves the project item.

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

bool SaveAs(
	String^ NewFileName
)

Parameters

NewFileName
Type: System::String^

Required. The file name with which to save the solution, project, or project item. If the file exists, it is overwritten.

Return Value

Type: System::Boolean

A Boolean value indicating true if the project item was saved; otherwise, false.

Saves the project item with the specified file name.

Return to top
Show: