RoutedEventHandlerInfo.Equality 操作员

定义

确定指定的对象是否等效。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static bool operator ==(System::Windows::RoutedEventHandlerInfo handlerInfo1, System::Windows::RoutedEventHandlerInfo handlerInfo2);
public static bool operator == (System.Windows.RoutedEventHandlerInfo handlerInfo1, System.Windows.RoutedEventHandlerInfo handlerInfo2);
static member ( = ) : System.Windows.RoutedEventHandlerInfo * System.Windows.RoutedEventHandlerInfo -> bool
Public Shared Operator == (handlerInfo1 As RoutedEventHandlerInfo, handlerInfo2 As RoutedEventHandlerInfo) As Boolean

参数

handlerInfo1
RoutedEventHandlerInfo

要比较的第一个对象。

handlerInfo2
RoutedEventHandlerInfo

要比较的第二个对象。

返回

如果对象等效,则为 true;否则为 false

适用于