Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TimeZoneInfo::TransitionTime::Equals Method (TimeZoneInfo::TransitionTime)

 

Determines whether the current TimeZoneInfo::TransitionTime object has identical values to a second TimeZoneInfo::TransitionTime object.

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

public:
virtual bool Equals(
	TimeZoneInfo::TransitionTime other
) sealed

Parameters

other
Type: System::TimeZoneInfo::TransitionTime

An object to compare to the current instance.

Return Value

Type: System::Boolean

true if the two objects have identical property values; otherwise, false.

To determine whether the two TimeZoneInfo::TransitionTime objects are equal, this method performs a property-by-property comparison. The method returns true only if the current TimeZoneInfo::TransitionTime object and the other object have identical values for each of the TimeZoneInfo::TransitionTime object's six property values.

The following example illustrates calls to the Equals method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft