Partager via


IVsEnumSearchProviders.Next Method

Retrieves a specified number of search providers in the enumeration sequence.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function Next ( _
    celt As UInteger, _
    <OutAttribute> rgelt As IVsSearchProvider(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
int Next(
    uint celt,
    IVsSearchProvider[] rgelt,
    out uint pceltFetched
)
int Next(
    [InAttribute] unsigned int celt, 
    [OutAttribute] array<IVsSearchProvider^>^ rgelt, 
    [OutAttribute] unsigned int% pceltFetched
)
abstract Next : 
        celt:uint32 * 
        rgelt:IVsSearchProvider[] byref * 
        pceltFetched:uint32 byref -> int
function Next(
    celt : uint, 
    rgelt : IVsSearchProvider[], 
    pceltFetched : uint
) : int

Parameters

  • celt
    Type: UInt32

    [in] The requested number of search providers to retrieve.

  • pceltFetched
    Type: UInt32%

    [out] Pointer to the actual number of search providers supplied in rgelt. Returns null if celt is one.

Return Value

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

.NET Framework Security

See Also

Reference

IVsEnumSearchProviders Interface

Microsoft.VisualStudio.Shell.Interop Namespace