Duration.GreaterThan(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 if one instance of Duration is greater than another.
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 t1
and t2
have values and t1
is greater than t2
; otherwise, false
.
Remarks
Forever is considered greater than any finite value. Any comparison with an Automatic value returns false
.
The equivalent method for this operator is Duration.Compare(Duration, Duration)
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.