次の方法で共有


IVsSolution4.EnsureProjectsAreLoaded(UInt32, Guid[], UInt32) Method

Definition

Caution

This API is no longer supported by Visual Studio.

Ensures that the specified list of projects and all required dependencies are loaded.

public:
 int EnsureProjectsAreLoaded(System::UInt32 cProjects, cli::array <Guid> ^ guidProjects, System::UInt32 grfFlags);
public int EnsureProjectsAreLoaded (uint cProjects, Guid[] guidProjects, uint grfFlags);
[System.Obsolete("This API is no longer supported by Visual Studio.")]
public int EnsureProjectsAreLoaded (uint cProjects, Guid[] guidProjects, uint grfFlags);
abstract member EnsureProjectsAreLoaded : uint32 * Guid[] * uint32 -> int
[<System.Obsolete("This API is no longer supported by Visual Studio.")>]
abstract member EnsureProjectsAreLoaded : uint32 * Guid[] * uint32 -> int
Public Function EnsureProjectsAreLoaded (cProjects As UInteger, guidProjects As Guid(), grfFlags As UInteger) As Integer

Parameters

cProjects
UInt32

The number of projects in the array.

guidProjects
Guid[]

An array of the GUIDs of the projects.

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