Share via


IVsEnumDependencies.Next(UInt32, IVsDependency[], UInt32) Method

Definition

Retrieves a specified number of dependencies in the enumeration sequence.

public:
 int Next(System::UInt32 cElements, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsDependency ^> ^ rgpIVsDependency, [Runtime::InteropServices::Out] System::UInt32 % pcElementsFetched);
int Next(unsigned int cElements, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsDependency const &> const & rgpIVsDependency, [Runtime::InteropServices::Out] unsigned int & pcElementsFetched);
public int Next (uint cElements, Microsoft.VisualStudio.Shell.Interop.IVsDependency[] rgpIVsDependency, out uint pcElementsFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsDependency[] * uint32 -> int
Public Function Next (cElements As UInteger, rgpIVsDependency As IVsDependency(), ByRef pcElementsFetched As UInteger) As Integer

Parameters

cElements
UInt32

[in] Number of elements being requested.

rgpIVsDependency
IVsDependency[]

[in, out, size_is(cElements)] Pointer to an array of IVsDependency interfaces belonging to the requested dependencies.

pcElementsFetched
UInt32

[out, optional] Pointer to the number of elements supplied in rgpIVsDependency. Callers can pass in null if cElements is one.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsEnumDependencies::Next(  
   [in] ULONG cElements,  
   [in, out, size_is(cElements)] IVsDependency *rgpIVsDependency[],  
   [out] ULONG *pcElementsFetched  
);  

Applies to