Partager via


IVsAsynchOpenFromScc.LoadProject(String) Method

Definition

This method begins loading the specified project asynchronously.

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

Parameters

lpszProjectPath
String

[in] Physical path to the project to be loaded from source control.

Returns

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

Remarks

COM Signature

From vsshell80.idl

HRESULT LoadProject(  
   [in] LPCOLESTR lpszProjectPath  
);  

The project that calls this method can poll the IsLoadingContent method to determine if the load has completed. Or the project can implement the IVsAsynchOpenFromSccProjectEvents Interface, which the source control package can call to indicate that the load is complete.

Applies to