Condividi tramite


QueryDataVersions.IsOlderThan Method

Definition

Checks whether this version set is older than a version set condition.

public bool IsOlderThan (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,long>> versions, bool containsAllVersions = false);
member this.IsOlderThan : seq<System.Collections.Generic.KeyValuePair<string, int64>> * bool -> bool
Public Function IsOlderThan (versions As IEnumerable(Of KeyValuePair(Of String, Long)), Optional containsAllVersions As Boolean = false) As Boolean

Parameters

versions
IEnumerable<KeyValuePair<String,Int64>>

A version set as the condition.

containsAllVersions
Boolean

Whether all version key must appear

Returns

A boolean value indicates whether the version is older than the condition.

Applies to