Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Function LoadProject ( _
lpszProjectPath As String _
) As Integer
'Usage
Dim instance As IVsAsynchOpenFromScc
Dim lpszProjectPath As String
Dim returnValue As Integer
returnValue = instance.LoadProject(lpszProjectPath)
int LoadProject(
string lpszProjectPath
)
int LoadProject(
[InAttribute] String^ lpszProjectPath
)
abstract LoadProject :
lpszProjectPath:string -> int
function LoadProject(
lpszProjectPath : String
) : int
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.
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.