Share via


IEnumProjectStartupServices.Next(UInt32, Guid[], UInt32) Method

Definition

Retrieves the next group of project startup services interfaces.

public:
 int Next(System::UInt32 celt, cli::array <Guid> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
public int Next (uint celt, Guid[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * Guid[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As Guid(), ByRef pceltFetched As UInteger) As Integer

Parameters

celt
UInt32

[in] Number of interfaces to return. Zero indicates that pceltFetched will be set to the number of remaining elements without filling the rgelt array (which may be NULL) with any values.

rgelt
Guid[]

[out] An array of interface objects. Contains pceltFetched objects.

pceltFetched
UInt32

[out] Actual number of interfaces retrieved.

Returns

If the method succeeds, it returns S_OK. When the end of the enumeration is reached, the method returns S_FALSE and sets pceltFetched to 0. If the method fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IEnumProjectStartupServices::Next(  
   [in] ULONG celt,   
   [out, size_is(celt), length_is(*pceltFetched)] GUID *rgelt,   
   [out] ULONG *pceltFetched  
);  

Applies to