Compartir a través de


WindowSearchOptionEnumerator.Next Method

Retrieves a specified number of search options from the enumerated set.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Function Next ( _
    celt As UInteger, _
    rgelt As IVsWindowSearchOption(), _
    <OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
public int Next(
    uint celt,
    IVsWindowSearchOption[] rgelt,
    out uint pceltFetched
)
public:
virtual int Next(
    unsigned int celt, 
    array<IVsWindowSearchOption^>^ rgelt, 
    [OutAttribute] unsigned int% pceltFetched
) sealed
abstract Next : 
        celt:uint32 * 
        rgelt:IVsWindowSearchOption[] * 
        pceltFetched:uint32 byref -> int  
override Next : 
        celt:uint32 * 
        rgelt:IVsWindowSearchOption[] * 
        pceltFetched:uint32 byref -> int
public final function Next(
    celt : uint, 
    rgelt : IVsWindowSearchOption[], 
    pceltFetched : uint
) : int

Parameters

  • celt
    Type: UInt32

    The number of search options requested.

  • pceltFetched
    Type: UInt32%

    Pointer to the number of search options actually returned in rgelt. If celt is 1, can be null.

Return Value

Type: Int32
Returns S_OK if the method is successful; otherwise, returns S_FALSE.

Implements

IVsEnumWindowSearchOptions.Next(UInt32, array<IVsWindowSearchOption[], UInt32%)

.NET Framework Security

See Also

Reference

WindowSearchOptionEnumerator Class

Microsoft.VisualStudio.PlatformUI Namespace