Duration.LessThanOrEqual(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 the value of one instance of Duration is less than or equal to the value of another instance.
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 less than or equal to 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에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET