QueryDataVersions.Matches Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks whether this version set matches a version set condition.
public bool Matches (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,long>> versions, bool containsAllVersions = false);
member this.Matches : seq<System.Collections.Generic.KeyValuePair<string, int64>> * bool -> bool
Public Function Matches (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 matches the condition.