Share via


IEnumDebugCustomAttributes::Next

Retrieves a specified number of custom attributes in an enumeration sequence.

HRESULT Next ( 
   ULONG      celt,
   CODE_PATH* rgelt,
   ULONG*     pceltFetched
);
int Next(
   uint                        celt, 
   out IDebugCustomAttribute[] rgelt, 
   ref uint                    pceltFetched
);

Parameters

  • celt
    [in] The number of elements to retrieve. Also specifies the maximum size of the rgelt array.

  • rgelt
    [out] An array of IDebugCustomAttribute objects to be filled in.

  • pceltFetched
    [out] Returns the number of elements actually returned in rgelt.

Return Value

If successful, returns S_OK. Returns S_FALSE if fewer than the requested number of elements could be returned; otherwise, returns an error code.

See Also

Reference

IEnumDebugCustomAttributes

IDebugCustomAttribute