Partager via


IVsSolutionBuildManager2.set_StartupProject(IVsHierarchy) Method

Definition

Sets the startup project that will be run when the F5 key is pressed.

public:
 int set_StartupProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
public int set_StartupProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy);
abstract member set_StartupProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function set_StartupProject (pHierarchy As IVsHierarchy) As Integer

Parameters

pHierarchy
IVsHierarchy

[in] 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