IEnumProjectStartupServices::Next Method (UInt32, array<Guid>^, UInt32)

 

Retrieves the next group of project startup services interfaces.

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

int Next(
	unsigned int celt,
	array<Guid>^ rgelt,
	[OutAttribute] unsigned int% pceltFetched
)

Parameters

celt
Type: System::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
Type: array<System::Guid>^

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

pceltFetched
Type: System::UInt32

[out] Actual number of interfaces retrieved.

Return Value

Type: System::Int32

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.

From vsshell.idl:

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