ICorDebugThreadEnum::Next Method

Gets the number of specified ICorDebugThread instances from the enumeration, starting at the current position.

Syntax

HRESULT Next (  
    [in] ULONG celt,  
    [out, size_is(celt), length_is(*pceltFetched)]  
        ICorDebugThread *threads[],  
    [out] ULONG *pceltFetched  
);  

Parameters

celt
[in] The number of ICorDebugThread instances to be retrieved.

threads
[out] An array of pointers, each of which points to an ICorDebugThread object that represents a thread.

pceltFetched
[out] Pointer to the number of ICorDebugThread instances actually returned. This value may be null if celt is one.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0