共用方式為


IVsEnumLibraries2.Next Method

Retrieves a specified number of libraries in the enumeration sequence.

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

Syntax

'宣告
Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgelt As IVsLibrary2(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
'用途
Dim instance As IVsEnumLibraries2
Dim celt As UInteger
Dim rgelt As IVsLibrary2()
Dim pceltFetched As UInteger
Dim returnValue As Integer

returnValue = instance.Next(celt, rgelt, _
    pceltFetched)
int Next(
    uint celt,
    IVsLibrary2[] rgelt,
    out uint pceltFetched
)
int Next(
    [InAttribute] unsigned int celt, 
    [OutAttribute] array<IVsLibrary2^>^ rgelt, 
    [OutAttribute] unsigned int% pceltFetched
)
abstract Next : 
        celt:uint32 * 
        rgelt:IVsLibrary2[] byref * 
        pceltFetched:uint32 byref -> int 
function Next(
    celt : uint, 
    rgelt : IVsLibrary2[], 
    pceltFetched : uint
) : int

Parameters

  • celt
    Type: System.UInt32
    [in] The number of elements being requested.
  • pceltFetched
    Type: System.UInt32%
    [out, optional] The number of elements supplied in rgelt. Caller can pass in nulla null reference (Nothing in Visual Basic) if celt 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 vsshell80.idl:

HRESULT IVsEnumLibraries2::Next(
   [in] ULONG celt, 
   [out, size_is(celt), length_is(*pceltFetched)] IVsLibrary2 **rgelt, 
   [out] ULONG *pceltFetched
);

.NET Framework Security

See Also

Reference

IVsEnumLibraries2 Interface

IVsEnumLibraries2 Members

Microsoft.VisualStudio.Shell.Interop Namespace