WindowSearchFilterEnumerator.Next 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从枚举集检索指定数目的搜索筛选器。
public:
virtual int Next(System::UInt32 celt, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsWindowSearchFilter ^> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
public int Next (uint celt, Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchFilter[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchFilter[] * uint32 -> int
override this.Next : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchFilter[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As IVsWindowSearchFilter(), ByRef pceltFetched As UInteger) As Integer
参数
- celt
- UInt32
请求的搜索筛选器的数目。
- rgelt
- IVsWindowSearchFilter[]
大小为 celt (或更大) 搜索筛选器的数组。
- pceltFetched
- UInt32
一个指针,指向中实际返回的搜索筛选器的数目 rgelt 。 如果 celt 为1,则可以为 null。
返回
如果方法成功,则返回 S_OK;否则,将返回 S_FALSE。