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

 

Retrieves a specified number of window search options in the enumeration sequence.

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

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

Parameters

celt
Type: System::UInt32

[in] The requested number of window search options to retrieve.

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

[out, size_is(celt), length_is(*pceltFetched)] The list of IVsEnumWindowSearchOptions objects that have been retrieved.

pceltFetched
Type: System::UInt32

[out] Pointer to the actual number of window search options supplied in rgelt. Returns null 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.

Return to top
Show: