Duration.Equality(Duration, Duration) Operator
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.
Determines whether two instances of Duration are equal.
public:
static bool operator ==(System::Windows::Duration t1, System::Windows::Duration t2);
public static bool operator == (System.Windows.Duration t1, System.Windows.Duration t2);
static member ( = ) : System.Windows.Duration * System.Windows.Duration -> bool
Public Shared Operator == (t1 As Duration, t2 As Duration) As Boolean
Parameters
Returns
true
if both instances of Duration have values and are equal, or if both instances of Duration are null
. Otherwise, this method returns false
.
Remarks
The equivalent method for this operator is Duration.Equals(Duration, Duration)
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour