IVsEnumHiddenRegions::Next Method (UInt32, array<IVsHiddenRegion^>^, UInt32)

 

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)

int Next(
	unsigned int cEl,
	array<IVsHiddenRegion^>^ ppOut,
	[OutAttribute] unsigned int% pcElFetched
)

Parameters

cEl
Type: System::UInt32

[in] The requested number of hidden regions to retrieve.

ppOut
Type: array<Microsoft.VisualStudio.TextManager.Interop::IVsHiddenRegion^>^

[out, size_is(cEl)] The list of IVsHiddenRegion objects that have been retrieved.

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 null 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.

From textmgr.idl:

[C++]

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