Condividi tramite


IVsEnumSyntheticRegions.Next Method

Retrieves synthetic regions from the enumeration sequence.

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

Syntax

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

Parameters

  • cEl
    Type: System.UInt32
    [in] The requested number of synthetic regions to retrieve.
  • pcElFetched
    Type: System.UInt32%
    [out] Pointer to the actual number of hidden regions supplied in pceltFetched. The caller of this method can set this to nulla null reference (Nothing in Visual Basic) if celt 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 IVsEnumSyntheticRegions::Next(
   [in] ULONG cEl,
   [out, size_is(cEl)] IVsSyntheticRegion** ppOut,
   [out] ULONG *pcElFetched
);

.NET Framework Security

See Also

Reference

IVsEnumSyntheticRegions Interface

Microsoft.VisualStudio.TextManager.Interop Namespace