WindowSearchOptionEnumerator::Next Method (UInt32, array<IVsWindowSearchOption^>^, UInt32)

 

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

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

public:
virtual int Next(
	unsigned int celt,
	array<IVsWindowSearchOption^>^ rgelt,
	[OutAttribute] unsigned int% pceltFetched
) sealed

Parameters

celt
Type: System::UInt32

The number of search options requested.

rgelt
Type: array<Microsoft.VisualStudio.Shell.Interop::IVsWindowSearchOption^>^

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

pceltFetched
Type: System::UInt32

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

Return Value

Type: System::Int32

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

Return to top
Show: