IEnumHierarchyItems::Next Method (UInt32, array<VSITEMSELECTION>^, UInt32)

 

Moves to the next item.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int Next(
	unsigned int celt,
	array<VSITEMSELECTION>^ rgelt,
	[OutAttribute] unsigned int% pceltFetched
)

Parameters

celt
Type: System::UInt32

[in] The number of items to advance.

rgelt
Type: array<Microsoft.VisualStudio.Shell.Interop::VSITEMSELECTION>^

[in] A VSITEMSELECTION array containing the selected item.

pceltFetched
Type: System::UInt32

[in] The number of elements selected

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

[C++]

HRESULT IEnumHierarchyItems::Next(
   [in] ULONG celt, 
   [out, size_is(celt), length_is(*pceltFetched)] VSITEMSELECTION *rgelt, 
   [out] ULONG *pceltFetched
);
Return to top
Show: