Table of Contents

Method Lte

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

Lte<TValue>(TValue)

Creates a less than or equal search range.

public static SearchRange<TValue> Lte<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.

Lte<TValue>(SearchRange<TValue>, TValue)

Adds a less than or equal value to a search range.

public static SearchRange<TValue> Lte<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.