IPeekResultCollection 接口

定义

表示在 IPeekResult 查询时由内容类型特定的实现填充的的集合 IPeekResultSource IPeekResult

public interface class IPeekResultCollection
public interface class IPeekResultCollection
__interface IPeekResultCollection
public interface IPeekResultCollection
type IPeekResultCollection = interface
Public Interface IPeekResultCollection

属性

Count

获取 IPeekResultCollection 中包含的元素数。

Item[Int32]

获取或设置指定索引处的结果。

方法

Add(IPeekResult)

将某项添加到 IPeekResultCollection 中。

Clear()

从中移除所有结果 IPeekResultCollection

Contains(IPeekResult)

确定是否 IPeekResultCollection 包含特定的结果。

IndexOf(IPeekResult, Int32)

查找结果的索引; 如果未找到结果,则返回-1。

Insert(Int32, IPeekResult)

将结果插入集合中的指定索引处。

Move(Int32, Int32)

将指定索引处的结果移动到集合中的新位置。

Remove(IPeekResult)

从中移除特定结果的第一个匹配项 IPeekResultCollection

RemoveAt(Int32)

删除集合中指定索引处的结果。

适用于