ICorPublishAppDomainEnum::Next Method

Gets the specified number of application domains that currently exist in the process, starting at the current position.

Syntax

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

Parameters

celt
[in] The number of elements to be retrieved.

objects
[out] A pointer to the array of retrieved ICorPublishAppDomain objects, each of which represents an application domain.

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

Requirements

Platforms: See System Requirements.

Header: CorPub.idl, CorPub.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

See also