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

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

b
Message

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

返回

如果 truea 不表示同一个 b,则为 Message;否则为 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

适用于