LanguagePrimitives.GenericMaximum<'T>, fonction (F#)
Prend la valeur maximale de deux valeurs en fonction de l'ordre donné par GenericComparison d'un point de vue structurel
Espace de noms/Chemin du module : Microsoft.FSharp.Core.LanguagePrimitives
Assembly : FSharp.Core (in FSharp.Core.dll)
// Signature:
GenericMaximum : 'T -> 'T -> 'T (requires comparison)
// Usage:
GenericMaximum e1 e2
Paramètres
e1
Type : 'TPremière valeur.
e2
Type : 'T.Seconde valeur.
Valeur de retour
Valeur maximale.
Plateformes
Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2
Informations de version
Runtime F#
Pris en charge dans : 2.0, 4.0
Silverlight
Prise en charge dans : 3