Udostępnij za pośrednictwem


IVsEnumSyntheticRegions.Next(UInt32, IVsSyntheticRegion[], UInt32) Method

Definition

Retrieves synthetic regions from the enumeration sequence.

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

Parameters

cEl
UInt32

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

ppOut
IVsSyntheticRegion[]

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

pcElFetched
UInt32

[out] Pointer to the actual number of hidden regions supplied in pceltFetched. The caller of this method can set this to null if celt 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 IVsEnumSyntheticRegions::Next(  
   [in] ULONG cEl,  
   [out, size_is(cEl)] IVsSyntheticRegion** ppOut,  
   [out] ULONG *pcElFetched  
);  

Applies to