Share via


QueryDataVersions.Set Method

Definition

Overloads

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

Overrides versions to the version set.

Set(String, Int64)

Overrides a version to the version set.

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

Overrides versions to the version set.

public Microsoft.VisualStudio.ProjectSystem.Query.QueryDataVersions Set (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,long>> versions);
member this.Set : seq<System.Collections.Generic.KeyValuePair<string, int64>> -> Microsoft.VisualStudio.ProjectSystem.Query.QueryDataVersions
Public Function Set (versions As IEnumerable(Of KeyValuePair(Of String, Long))) As QueryDataVersions

Parameters

versions
IEnumerable<KeyValuePair<String,Int64>>

A set of versions

Returns

Applies to

Set(String, Int64)

Overrides a version to the version set.

public Microsoft.VisualStudio.ProjectSystem.Query.QueryDataVersions Set (string versionKey, long version);
member this.Set : string * int64 -> Microsoft.VisualStudio.ProjectSystem.Query.QueryDataVersions
Public Function Set (versionKey As String, version As Long) As QueryDataVersions

Parameters

versionKey
String

A version key.

version
Int64

A new version value.

Returns

New version set if it is changed.

Applies to