Compartir a través de


IVsEnumHiddenRegions.Next Method

Retrieves a specified number of hidden regions in the enumeration sequence.

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

Syntax

'Declaración
Function Next ( _
    cEl As UInteger, _
    <OutAttribute> ppOut As IVsHiddenRegion(), _
    <OutAttribute> ByRef pcElFetched As UInteger _
) As Integer
int Next(
    uint cEl,
    IVsHiddenRegion[] ppOut,
    out uint pcElFetched
)
int Next(
    [InAttribute] unsigned int cEl, 
    [OutAttribute] array<IVsHiddenRegion^>^ ppOut, 
    [OutAttribute] unsigned int% pcElFetched
)
abstract Next : 
        cEl:uint32 * 
        ppOut:IVsHiddenRegion[] byref * 
        pcElFetched:uint32 byref -> int 
function Next(
    cEl : uint, 
    ppOut : IVsHiddenRegion[], 
    pcElFetched : uint
) : int

Parameters

  • cEl
    Type: System.UInt32
    [in] The requested number of hidden regions to retrieve.
  • pcElFetched
    Type: System.UInt32%
    [out] Pointer to the actual number of hidden regions supplied in ppOut. The caller of this method can set this to nulla null reference (Nothing in Visual Basic) if cEl 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 textmgr.idl:

[C++]

HRESULT IVsEnumHiddenRegions::Next(
   [in] ULONG cEl, [out, size_is(cEl)] IVsHiddenRegion** ppOut,
   [out] ULONG *pcElFetched
);

.NET Framework Security

See Also

Reference

IVsEnumHiddenRegions Interface

Microsoft.VisualStudio.TextManager.Interop Namespace