IEnumHierarchies.Next(UInt32, IVsHierarchy[], UInt32) 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.
Retrieves the next group of hierarchy interfaces (IVsHierarchy).
public:
int Next(System::UInt32 celt, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const &> const & rgelt, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As IVsHierarchy(), ByRef pceltFetched As UInteger) As Integer
Parameters
- celt
- UInt32
[in] Number of hierarchies to return, or zero to indicate a request for all of the objects.
- rgelt
- IVsHierarchy[]
[out] An array of IVsHierarchy objects. Contains pceltFetched
objects.
- pceltFetched
- UInt32
[out] Actual number of hierarchy interfaces retrieved.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
[C++]
HRESULT IEnumHierarchies::Next(
[in] ULONG celt,
[out, size_is(celt), length_is(*pceltFetched)] IVsHierarchy **rgelt, [out] ULONG *pceltFetched
);