IVsAsynchOpenFromScc::LoadProject Method (String^)

 

This method begins loading the specified project asynchronously.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int LoadProject(
	String^ lpszProjectPath
)

Parameters

lpszProjectPath
Type: System::String^

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

Return Value

Type: System::Int32

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

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.

Return to top
Show: