다음을 통해 공유


IVsProjectStartupServices.GetStartupServiceEnum Method

Definition

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

public:
 int GetStartupServiceEnum([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumProjectStartupServices ^ % ppenum);
public:
 int GetStartupServiceEnum([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumProjectStartupServices ^ &  ppenum);
int GetStartupServiceEnum([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumProjectStartupServices const & & ppenum);
public int GetStartupServiceEnum (out Microsoft.VisualStudio.Shell.Interop.IEnumProjectStartupServices ppenum);
abstract member GetStartupServiceEnum : IEnumProjectStartupServices -> int
Public Function GetStartupServiceEnum (ByRef ppenum As IEnumProjectStartupServices) As Integer

Parameters

ppenum
IEnumProjectStartupServices

[out] Pointer to the IEnumProjectStartupServices interface object.

Returns

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.

Applies to