TimeZoneInfo.TransitionTime.Equality 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 whether two specified TimeZoneInfo.TransitionTime objects are equal.
public:
static bool operator ==(TimeZoneInfo::TransitionTime t1, TimeZoneInfo::TransitionTime t2);
public:
static bool operator ==(TimeZoneInfo::TransitionTime left, TimeZoneInfo::TransitionTime right);
public static bool operator == (TimeZoneInfo.TransitionTime t1, TimeZoneInfo.TransitionTime t2);
public static bool operator == (TimeZoneInfo.TransitionTime left, TimeZoneInfo.TransitionTime right);
static member ( = ) : TimeZoneInfo.TransitionTime * TimeZoneInfo.TransitionTime -> bool
static member ( = ) : TimeZoneInfo.TransitionTime * TimeZoneInfo.TransitionTime -> bool
Public Shared Operator == (t1 As TimeZoneInfo.TransitionTime, t2 As TimeZoneInfo.TransitionTime) As Boolean
Public Shared Operator == (left As TimeZoneInfo.TransitionTime, right As TimeZoneInfo.TransitionTime) As Boolean
Parameters
- t1left
- TimeZoneInfo.TransitionTime
The first object to compare.
- t2right
- TimeZoneInfo.TransitionTime
The second object to compare.
Returns
true
if t1
and t2
have identical values; otherwise, false
.
Remarks
Two TimeZoneInfo.TransitionTime objects are equal if they have identical values for each of their six properties. Otherwise, they are unequal.
The equivalent method for this operator is TimeZoneInfo.TransitionTime.Equals(TimeZoneInfo+TransitionTime).
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET