共用方式為


RoutedEventHandlerInfo.Inequality 運算子

定義

判斷指定的物件是否不相等。

此 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 op_Inequality : System.Windows.RoutedEventHandlerInfo * System.Windows.RoutedEventHandlerInfo -> bool
Public Shared Operator != (handlerInfo1 As RoutedEventHandlerInfo, handlerInfo2 As RoutedEventHandlerInfo) As Boolean

參數

handlerInfo1
RoutedEventHandlerInfo

要比較的第一個物件。

handlerInfo2
RoutedEventHandlerInfo

要比較的第二個物件。

傳回

Boolean

如果物件不相等則為 true,否則為 false

適用於