Partager via


IVsSolutionBuildManager2.get_StartupProject(IVsHierarchy) Method

Definition

Programmatic method to get the startup project that will be run when the F5 key is pressed.

public:
 int get_StartupProject([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ % ppHierarchy);
public int get_StartupProject (out Microsoft.VisualStudio.Shell.Interop.IVsHierarchy ppHierarchy);
abstract member get_StartupProject : IVsHierarchy -> int
Public Function get_StartupProject (ByRef ppHierarchy As IVsHierarchy) As Integer

Parameters

ppHierarchy
IVsHierarchy

[out] Pointer to a pointer to a hierarchy object.

Returns

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

Implements

Applies to