IVsSolutionBuildManager.set_StartupProject(IVsHierarchy) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.