WindowSearchFilterEnumerator.Next Method
Retrieves a specified number of search filters from the enumerated set.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Function Next ( _
celt As UInteger, _
rgelt As IVsWindowSearchFilter(), _
<OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
public int Next(
uint celt,
IVsWindowSearchFilter[] rgelt,
out uint pceltFetched
)
public:
virtual int Next(
unsigned int celt,
array<IVsWindowSearchFilter^>^ rgelt,
[OutAttribute] unsigned int% pceltFetched
) sealed
abstract Next :
celt:uint32 *
rgelt:IVsWindowSearchFilter[] *
pceltFetched:uint32 byref -> int
override Next :
celt:uint32 *
rgelt:IVsWindowSearchFilter[] *
pceltFetched:uint32 byref -> int
public final function Next(
celt : uint,
rgelt : IVsWindowSearchFilter[],
pceltFetched : uint
) : int
Parameters
celt
Type: System.UInt32The number of search filters requested.
rgelt
Type: array<Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchFilter[]Array of size celt (or larger) of search filters.
pceltFetched
Type: System.UInt32%Pointer to the number of search filters 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.
Implements
IVsEnumWindowSearchFilters.Next(UInt32, array<IVsWindowSearchFilter[], UInt32%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.