IVsProjectStartupServices.GetStartupServiceEnum Method (IEnumProjectStartupServices)

 

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

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

int GetStartupServiceEnum(
	out IEnumProjectStartupServices ppenum
)

Parameters

ppenum
Type: Microsoft.VisualStudio.Shell.Interop.IEnumProjectStartupServices

[out] Pointer to the IEnumProjectStartupServices interface object.

Return Value

Type: System.Int32

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

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.

Return to top
Show: