This documentation is archived and is not being maintained.

IVsProjectStartupServices.GetStartupServiceEnum Method

Used to look up a third party service array element by GUID.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int GetStartupServiceEnum (
	out IEnumProjectStartupServices ppenum
int GetStartupServiceEnum (
	/** @attribute OutAttribute() */ /** @ref */ IEnumProjectStartupServices ppenum
JScript does not support passing value-type arguments by reference.



[out] Pointer to the IEnumProjectStartupServices interface object.

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsProjectStartupServices::GetStartupServiceEnum(
   [out] IEnumProjectStartupServices **ppEnum

IEnumProjectStartupServices follows the standard enumeration interface structure and has the standard enumerator methods described in MSDN (check the description of IEnumXXXX). As with all enumerator interfaces, the purpose of the interface is to enumerate specific items of a given type. In this case service GUIDs are enumerated.

The GetStartupServiceEnum method returns a pointer to the IEnumProjectStartupServices interface.