Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

int Next(
	uint cEl,
	IVsHiddenRegion[] ppOut,
	out uint pcElFetched


Type: System.UInt32

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

Type: Microsoft.VisualStudio.TextManager.Interop.IVsHiddenRegion[]

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

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.

COM Signature

From textmgr.idl:


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

© 2015 Microsoft