Udostępnij za pośrednictwem


IVsSolution4.EnsureProjectIsLoaded(Guid, UInt32) Method

Definition

Caution

This API is no longer supported by Visual Studio.

Ensures that this project and all required dependencies are loaded.

public:
 int EnsureProjectIsLoaded(Guid % guidProject, System::UInt32 grfFlags);
public int EnsureProjectIsLoaded (ref Guid guidProject, uint grfFlags);
[System.Obsolete("This API is no longer supported by Visual Studio.")]
public int EnsureProjectIsLoaded (ref Guid guidProject, uint grfFlags);
abstract member EnsureProjectIsLoaded : Guid * uint32 -> int
[<System.Obsolete("This API is no longer supported by Visual Studio.")>]
abstract member EnsureProjectIsLoaded : Guid * uint32 -> int
Public Function EnsureProjectIsLoaded (ByRef guidProject As Guid, grfFlags As UInteger) As Integer

Parameters

guidProject
Guid

The GUID of the project.

grfFlags
UInt32

The __VSBSLFLAGS that specify how the projects are to be loaded.

Returns

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

Attributes

Applies to