IPeekResultCollection Interface

Definition

Represents a collection of IPeekResults populated by content-type specific IPeekResultSource implementations when they are being queried for IPeekResults.

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

Properties

Count

Gets the number of elements contained in the IPeekResultCollection.

Item[Int32]

Gets or sets the result at the specified index.

Methods

Add(IPeekResult)

Adds an item to the IPeekResultCollection.

Clear()

Removes all results from the IPeekResultCollection.

Contains(IPeekResult)

Determines whether the IPeekResultCollection contains a specific result.

IndexOf(IPeekResult, Int32)

Finds the index of the result or returns -1 if the result was not found.

Insert(Int32, IPeekResult)

Inserts a result into the collection at the specified index.

Move(Int32, Int32)

Moves the result at the specified index to a new location in the collection.

Remove(IPeekResult)

Removes the first occurrence of a specific result from the IPeekResultCollection.

RemoveAt(Int32)

Removes the result at the specified index of the collection.

Applies to