共用方式為


IVsEnumOutputs.Next Method

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)

Syntax

'宣告
Function Next ( _
    cElements As UInteger, _
    <OutAttribute> rgpIVsOutput As IVsOutput(), _
    <OutAttribute> pcElementsFetched As UInteger() _
) As Integer
'用途
Dim instance As IVsEnumOutputs
Dim cElements As UInteger
Dim rgpIVsOutput As IVsOutput()
Dim pcElementsFetched As UInteger()
Dim returnValue As Integer

returnValue = instance.Next(cElements, _
    rgpIVsOutput, pcElementsFetched)
int Next(
    uint cElements,
    IVsOutput[] rgpIVsOutput,
    uint[] pcElementsFetched
)
int Next(
    [InAttribute] unsigned int cElements, 
    [OutAttribute] array<IVsOutput^>^ rgpIVsOutput, 
    [OutAttribute] array<unsigned int>^ pcElementsFetched
)
abstract Next : 
        cElements:uint32 * 
        rgpIVsOutput:IVsOutput[] byref * 
        pcElementsFetched:uint32[] byref -> int 
function Next(
    cElements : uint, 
    rgpIVsOutput : IVsOutput[], 
    pcElementsFetched : uint[]
) : int

Parameters

  • cElements
    Type: System.UInt32
    [in] Number of elements being requested.
  • pcElementsFetched
    Type: array<System.UInt32[]
    [out, optional] Pointer to the number of elements supplied in rgpIVsOutput. Caller can pass in nulla null reference (Nothing in Visual Basic) 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.

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsEnumOutputs Interface

IVsEnumOutputs Members

Microsoft.VisualStudio.Shell.Interop Namespace