Compartilhar via


QueryDataVersions Class

Definition

Represents data version of a project query result

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.ProjectSystem.Query.QueryDataVersionsJsonConverter))]
public class QueryDataVersions : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,long>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string,long>>, System.Collections.Generic.IReadOnlyDictionary<string,long>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.VisualStudio.ProjectSystem.Query.QueryDataVersionsJsonConverter))>]
type QueryDataVersions = class
    interface IReadOnlyDictionary<string, int64>
    interface seq<KeyValuePair<string, int64>>
    interface IEnumerable
    interface IReadOnlyCollection<KeyValuePair<string, int64>>
Public Class QueryDataVersions
Implements IEnumerable(Of KeyValuePair(Of String, Long)), IReadOnlyCollection(Of KeyValuePair(Of String, Long)), IReadOnlyDictionary(Of String, Long)
Inheritance
QueryDataVersions
Attributes
Newtonsoft.Json.JsonConverterAttribute
Implements

Properties

Count
Empty

Gets the empty version set.

IsEmpty

Gets whether this version set is empty.

IsMixed

Gets whether the query results are merged from version inconsistent source. A lower version number will be used for each source, but it is possible that the result can be affected by a later stage of the system.

Item[String]
Keys
Values

Methods

Add(String, Int64)

Add a version to the set.

AddRange(IEnumerable<KeyValuePair<String,Int64>>)

Adds a set of versions to the set.

ContainsKey(String)
GetEnumerator()
IsNewerOrEqualThan(IEnumerable<KeyValuePair<String,Int64>>, Boolean)

Checks whether this version set is newer or matches a version set condition.

IsNewerThan(IEnumerable<KeyValuePair<String,Int64>>, Boolean)

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

IsOlderOrEqualThan(IEnumerable<KeyValuePair<String,Int64>>, Boolean)

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

IsOlderThan(IEnumerable<KeyValuePair<String,Int64>>, Boolean)

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

Matches(IEnumerable<KeyValuePair<String,Int64>>, Boolean)

Checks whether this version set matches a version set condition.

Merge(IEnumerable<KeyValuePair<String,Int64>>)

Merges two set of versions.

Merge(QueryDataVersions)

Merges two set of versions.

Merge(String, Int64)
Remove(String)

Removes a version from the set.

RemoveRange(IEnumerable<String>)

Removes a set of versions from the current version set.

Set(IEnumerable<KeyValuePair<String,Int64>>)

Overrides versions to the version set.

Set(String, Int64)

Overrides a version to the version set.

SetIsMixed(Boolean)

Updates IsMixed state.

ToString()
TryGetValue(String, Int64)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to