IVsEnumOutputs::Next Method (UInt32, array<IVsOutput^>^, array<UInt32>^)

 

Retrieves a specified number of output items in the enumeration sequence.

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

int Next(
	unsigned int cElements,
	array<IVsOutput^>^ rgpIVsOutput,
	array<unsigned int>^ pcElementsFetched
)

Parameters

cElements
Type: System::UInt32

[in] Number of elements being requested.

rgpIVsOutput
Type: array<Microsoft.VisualStudio.Shell.Interop::IVsOutput^>^

[in, out, size_is(cElements)] Pointer to an array of IVsOutput interfaces belonging to the requested output items.

pcElementsFetched
Type: array<System::UInt32>^

[out, optional] Pointer to the number of elements supplied in rgpIVsOutput. Caller can pass in null if cElements is one.

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 IVsEnumOutputs::Next(
   [in] ULONG cElements,
   [in, out, size_is(cElements)] IVsOutput *rgpIVsOutput[],
   [out, optional] ULONG *pcElementsFetched
);
Return to top
Show: