EnumerableComCollection<TComEnumerator, TEnumerated>::NextItems Method (TComEnumerator, UInt32, array<TEnumerated>^, UInt32)
Visual Studio 2015
Gets the specified number of items.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
public: virtual int NextItems( TComEnumerator enumerator, unsigned int count, array<TEnumerated>^ items, [OutAttribute] unsigned int% fetched ) abstract
Parameters
- enumerator
-
Type:
TComEnumerator
The enumerator
- count
-
Type:
System::UInt32
The number of items to get.
- items
-
Type:
array<TEnumerated>^
An array of items.
- fetched
-
Type:
System::UInt32
[out] The number of items that were returned.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: