Table of Contents

Class GeoHaystackSearchResult.GeoHaystackSearchHits

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Represents a collection of GeoHaystackSearch hits.

public abstract class GeoHaystackSearchResult.GeoHaystackSearchHits : IEnumerable
Inheritance
GeoHaystackSearchResult.GeoHaystackSearchHits
Implements
Derived
Inherited Members
Extension Methods

Constructors

GeoHaystackSearchHits()

Initializes a new instance of the GeoHaystackSearchHits class.

protected GeoHaystackSearchHits()

Properties

Count

Gets the count of the number of hits.

public abstract int Count { get; }

Property Value

int

this[int]

Gets an individual hit.

public GeoHaystackSearchResult.GeoHaystackSearchHit this[int index] { get; }

Parameters

index int

The zero based index of the hit.

Property Value

GeoHaystackSearchResult.GeoHaystackSearchHit

The hit.

Methods

GetEnumerator()

Gets an enumerator for the hits.

public IEnumerator<GeoHaystackSearchResult.GeoHaystackSearchHit> GetEnumerator()

Returns

IEnumerator<GeoHaystackSearchResult.GeoHaystackSearchHit>

An enumerator.

GetEnumeratorImplementation()

Gets the enumerator.

protected abstract IEnumerator<GeoHaystackSearchResult.GeoHaystackSearchHit> GetEnumeratorImplementation()

Returns

IEnumerator<GeoHaystackSearchResult.GeoHaystackSearchHit>

An enumerator.

GetHitImplementation(int)

Gets an individual hit.

protected abstract GeoHaystackSearchResult.GeoHaystackSearchHit GetHitImplementation(int index)

Parameters

index int

The zero based index of the hit.

Returns

GeoHaystackSearchResult.GeoHaystackSearchHit

The hit.