Partager via


IVsEnumHiddenRegions.Next(UInt32, IVsHiddenRegion[], UInt32) Method

Definition

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

public:
 int Next(System::UInt32 cEl, cli::array <Microsoft::VisualStudio::TextManager::Interop::IVsHiddenRegion ^> ^ ppOut, [Runtime::InteropServices::Out] System::UInt32 % pcElFetched);
int Next(unsigned int cEl, std::Array <Microsoft::VisualStudio::TextManager::Interop::IVsHiddenRegion const &> const & ppOut, [Runtime::InteropServices::Out] unsigned int & pcElFetched);
public int Next (uint cEl, Microsoft.VisualStudio.TextManager.Interop.IVsHiddenRegion[] ppOut, out uint pcElFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.TextManager.Interop.IVsHiddenRegion[] * uint32 -> int
Public Function Next (cEl As UInteger, ppOut As IVsHiddenRegion(), ByRef pcElFetched As UInteger) As Integer

Parameters

cEl
UInt32

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

ppOut
IVsHiddenRegion[]

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

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

Returns

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  
);  

Applies to