Freigeben über


IVsEnumOutputs.Next(UInt32, IVsOutput[], UInt32[]) Method

Definition

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

int Next(unsigned int cElements, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsOutput const &> const & rgpIVsOutput, std::Array <unsigned int> const & pcElementsFetched);
public int Next (uint cElements, Microsoft.VisualStudio.Shell.Interop.IVsOutput[] rgpIVsOutput, uint[] pcElementsFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsOutput[] * uint32[] -> int
Public Function Next (cElements As UInteger, rgpIVsOutput As IVsOutput(), Optional pcElementsFetched As UInteger()) As Integer

Parameters

cElements
UInt32

[in] Number of elements being requested.

rgpIVsOutput
IVsOutput[]

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

pcElementsFetched
UInt32[]

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsEnumOutputs::Next(  
   [in] ULONG cElements,  
   [in, out, size_is(cElements)] IVsOutput *rgpIVsOutput[],  
   [out, optional] ULONG *pcElementsFetched  
);  

Applies to