ICorDebugAppDomainEnum::Next 方法

從目前資料指標位置開始,從集合取得指定的應用程式定義域數目。

語法

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

參數

celt
[in] 要擷取的應用程式定義域數目。

values
[out] 指標的陣列,每個指標都指向 ICorDebugAppDomain 物件,代表某個應用程式定義域。

pceltFetched
[out] 實際傳回應用程式定義域數目的指標。 如果 celt 為 1,此值可能為 null。

規格需求

平台:請參閱系統需求

標頭:CorDebug.idl、CorDebug.h

程式庫:CorGuids.lib

.NET Framework版本:自 1.0 起可用