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
'Declaration
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.
ppOut
Type: array<Microsoft.VisualStudio.TextManager.Interop.IVsSyntheticRegion[][out, size_is(celt)] The list of IVsSyntheticRegion objects that have been retrieved.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.