IVsEnumDependencies.Next Method

Retrieves a specified number of dependencies in the enumeration sequence.

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

Syntax

'宣言
Function Next ( _
    cElements As UInteger, _
    <OutAttribute> rgpIVsDependency As IVsDependency(), _
    <OutAttribute> ByRef pcElementsFetched As UInteger _
) As Integer
'使用
Dim instance As IVsEnumDependencies
Dim cElements As UInteger
Dim rgpIVsDependency As IVsDependency()
Dim pcElementsFetched As UInteger
Dim returnValue As Integer

returnValue = instance.Next(cElements, _
    rgpIVsDependency, pcElementsFetched)
int Next(
    uint cElements,
    IVsDependency[] rgpIVsDependency,
    out uint pcElementsFetched
)
int Next(
    [InAttribute] unsigned int cElements, 
    [OutAttribute] array<IVsDependency^>^ rgpIVsDependency, 
    [OutAttribute] unsigned int% pcElementsFetched
)
function Next(
    cElements : uint, 
    rgpIVsDependency : IVsDependency[], 
    pcElementsFetched : uint
) : int

Parameters

  • cElements
    Type: System.UInt32

    [in] Number of elements being requested.

  • rgpIVsDependency
    Type: []

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

  • pcElementsFetched
    Type: System.UInt32%

    [out, optional] Pointer to the number of elements supplied in rgpIVsDependency. Callers can pass in a null reference (Nothing in Visual Basic) if cElements is one.

Return Value

Type: System.Int32

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
);

Permissions

See Also

Reference

IVsEnumDependencies Interface

IVsEnumDependencies Members

Microsoft.VisualStudio.Shell.Interop Namespace