Message.Inequality(Message, Message) 运算符

定义

确定 Message 的两个实例是否不相等。Determines whether two instances of Message are not equal.

public:
 static bool operator !=(System::Windows::Forms::Message a, System::Windows::Forms::Message b);
public static bool operator != (System.Windows.Forms.Message a, System.Windows.Forms.Message b);
static member op_Inequality : System.Windows.Forms.Message * System.Windows.Forms.Message -> bool
Public Shared Operator != (a As Message, b As Message) As Boolean

参数

a
Message

要与 b 进行比较的 MessageA Message to compare to b.

b
Message

要与 a 进行比较的 MessageA Message to compare to a.

返回

Boolean

如果 ab 不表示同一个 Message,则为 true;否则为 falsetrue if a and b do not represent the same Message; otherwise, false.

注解

此运算符的等效方法是 Message.EqualsThe equivalent method for this operator is the negation of Message.Equals

适用于