Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a value that indicates whether two specified instances of TimeSpan are equal.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Shared Function Equals ( _
t1 As TimeSpan, _
t2 As TimeSpan _
) As Boolean
public static bool Equals(
TimeSpan t1,
TimeSpan t2
)
public:
static bool Equals(
TimeSpan t1,
TimeSpan t2
)
static member Equals :
t1:TimeSpan *
t2:TimeSpan -> bool
public static function Equals(
t1 : TimeSpan,
t2 : TimeSpan
) : boolean
Parameters
- t1
Type: System. . :: . .TimeSpan
The first time interval to compare.
- t2
Type: System. . :: . .TimeSpan
The second time interval to compare.
Return Value
Type: System. . :: . .Boolean
true if the values of t1 and t2 are equal; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.