TimeZoneInfo.TransitionTime.Equality Operator (TimeZoneInfo.TransitionTime, TimeZoneInfo.TransitionTime)

 
equivalentCodeEntityM:System.TimeZoneInfo.TransitionTime.Equals(System.TimeZoneInfo.TransitionTime,System.TimeZoneInfo.TransitionTime)

Determines whether two specified TimeZoneInfo.TransitionTime objects are equal.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public static bool operator ==(
	TimeZoneInfo.TransitionTime t1,
	TimeZoneInfo.TransitionTime t2
)

Parameters

t1
Type: System.TimeZoneInfo.TransitionTime

The first object to compare.

t2
Type: System.TimeZoneInfo.TransitionTime

The second object to compare.

Return Value

Type: System.Boolean

true if t1 and t2 have identical values; otherwise, false.

Two TimeZoneInfo.TransitionTime objects are equal if they have identical values for each of their six properties. Otherwise, they are unequal.

.NET Framework
Available since 3.5
Return to top
Show: