RoutedEventHandlerInfo.Equals Method
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 objects are equivalent.
Overloads
Equals(Object) |
This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether the specified object is equivalent to the current RoutedEventHandlerInfo. |
Equals(RoutedEventHandlerInfo) |
This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether the specified RoutedEventHandlerInfo is equivalent to the current RoutedEventHandlerInfo. |
Equals(Object)
Determines whether the specified object is equivalent to the current RoutedEventHandlerInfo.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
- obj
- Object
The object to compare to the current RoutedEventHandlerInfo.
Returns
true
if the specified object is equivalent to the current RoutedEventHandlerInfo; otherwise, false
.
Applies to
Equals(RoutedEventHandlerInfo)
Determines whether the specified RoutedEventHandlerInfo is equivalent to the current RoutedEventHandlerInfo.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
bool Equals(System::Windows::RoutedEventHandlerInfo handlerInfo);
public bool Equals (System.Windows.RoutedEventHandlerInfo handlerInfo);
override this.Equals : System.Windows.RoutedEventHandlerInfo -> bool
Public Function Equals (handlerInfo As RoutedEventHandlerInfo) As Boolean
Parameters
- handlerInfo
- RoutedEventHandlerInfo
The RoutedEventHandlerInfo to compare to the current RoutedEventHandlerInfo.
Returns
true
if the specified RoutedEventHandlerInfo is equivalent to the current RoutedEventHandlerInfo; otherwise, false
.
Remarks
This implementation relies on value equivalence of the HandlerInvokeHandledEventsToo properties. The Handler property is a delegate reference. Therefore, equivalence implies a duplicate reference to the same handler.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기