Table of Contents

Method Lt

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

Lt<TValue>(TValue)

Creates a less than search range.

public static SearchRange<TValue> Lt<TValue>(TValue value) where TValue : struct, IComparable<TValue>

Parameters

value TValue

The value.

Returns

SearchRange<TValue>

Search range.

Type Parameters

TValue

The type of the value.

Lt<TValue>(SearchRange<TValue>, TValue)

Adds a less than value to a search range.

public static SearchRange<TValue> Lt<TValue>(this SearchRange<TValue> searchRange, TValue value) where TValue : struct, IComparable<TValue>

Parameters

searchRange SearchRange<TValue>

Search range.

value TValue

The value.

Returns

SearchRange<TValue>

Search range.

Type Parameters

TValue

The type of the value.