Partager via


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 Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function GetStartupServiceEnum ( _
    <OutAttribute> ByRef ppenum As IEnumProjectStartupServices _
) As Integer
int GetStartupServiceEnum(
    out IEnumProjectStartupServices ppenum
)
int GetStartupServiceEnum(
    [OutAttribute] IEnumProjectStartupServices^% ppenum
)
abstract GetStartupServiceEnum : 
        ppenum:IEnumProjectStartupServices byref -> int
function GetStartupServiceEnum(
    ppenum : IEnumProjectStartupServices
) : int

Parameters

Return Value

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

Remarks

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.

.NET Framework Security

See Also

Reference

IVsProjectStartupServices Interface

Microsoft.VisualStudio.Shell.Interop Namespace