DemandMinimumVersion.MaxAndRemove(ISet<Demand>) 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.
Gets the minimum agent version demand from the specified set of demands. Agent version demands are removed from the input set.
public static Microsoft.TeamFoundation.DistributedTask.WebApi.DemandMinimumVersion MaxAndRemove(System.Collections.Generic.ISet<Microsoft.TeamFoundation.DistributedTask.WebApi.Demand> demands);
static member MaxAndRemove : System.Collections.Generic.ISet<Microsoft.TeamFoundation.DistributedTask.WebApi.Demand> -> Microsoft.TeamFoundation.DistributedTask.WebApi.DemandMinimumVersion
Public Shared Function MaxAndRemove (demands As ISet(Of Demand)) As DemandMinimumVersion
Parameters
Returns
The highest minimum version required based in the input set