Message.Equality(Message, Message) 運算子

定義

判斷兩個 Message 是否相等。Determines whether two instances of Message are 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 ( = ) : 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 represent the same Message; otherwise, false.

備註

這個運算子的對等方法是 Message.EqualsThe equivalent method for this operator is Message.Equals

適用於