共用方式為


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

適用於