EnumerableComCollection<TComEnumerator,TEnumerated>.NextItems Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the specified number of items.
public:
abstract int NextItems(TComEnumerator enumerator, System::UInt32 count, cli::array <TEnumerated> ^ items, [Runtime::InteropServices::Out] System::UInt32 % fetched);
public abstract int NextItems (TComEnumerator enumerator, uint count, TEnumerated[] items, out uint fetched);
abstract member NextItems : 'ComEnumerator * uint32 * 'Enumerated[] * uint32 -> int
Public MustOverride Function NextItems (enumerator As TComEnumerator, count As UInteger, items As TEnumerated(), ByRef fetched As UInteger) As Integer
Parameters
- enumerator
- TComEnumerator
The enumerator
- count
- UInt32
The number of items to get.
- items
- TEnumerated[]
An array of items.
- fetched
- UInt32
[out] The number of items that were returned.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.