共用方式為


WindowSearchOptionEnumerator.Next Method

Definition

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

public:
 virtual int Next(System::UInt32 celt, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsWindowSearchOption ^> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
public int Next (uint celt, Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchOption[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchOption[] * uint32 -> int
override this.Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchOption[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As IVsWindowSearchOption(), ByRef pceltFetched As UInteger) As Integer

Parameters

celt
UInt32

The number of search options requested.

rgelt
IVsWindowSearchOption[]

Array of size celt (or larger) of search options.

pceltFetched
UInt32

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

Returns

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

Implements

Applies to