Compartilhar via


EnumerableComCollection<TComEnumerator,TEnumerated>.NextItems Method

Definition

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.

Implements

Applies to