TimeSpanLessThanOrEqual Operator |
Indicates whether a specified
TimeSpan is less than or equal to another specified
TimeSpan.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static bool operator <=(
TimeSpan t1,
TimeSpan t2
)
Parameters
- t1
- Type: SystemTimeSpan
The first time interval to compare. - t2
- Type: SystemTimeSpan
The second time interval to compare.
Return Value
Type:
Booleantrue if the value of
t1 is less than or equal to the value of
t2; otherwise, false.
See Also