共用方式為


IVsDeferredSaveProject.SaveProjectToLocation(String) Method

Definition

Tells the project to save itself and all its contents to the specified location on disk.

public:
 int SaveProjectToLocation(System::String ^ pszProjectFilename);
public:
 int SaveProjectToLocation(Platform::String ^ pszProjectFilename);
int SaveProjectToLocation(std::wstring const & pszProjectFilename);
public int SaveProjectToLocation (string pszProjectFilename);
abstract member SaveProjectToLocation : string -> int
Public Function SaveProjectToLocation (pszProjectFilename As String) As Integer

Parameters

pszProjectFilename
String

[in] A pointer to a string containing the full path and project filename.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsDeferredSaveProject::SaveProjectToLocation(  
   [in] LPCOLESTR pszProjectFilename  
);  

Applies to