Bearbeiten

Freigeben über


DemandMinimumVersion.MaxAndRemove(ISet<Demand>) Method

Definition

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

demands
ISet<Demand>

The demands

Returns

The highest minimum version required based in the input set

Applies to