Message.Equals Method

Definition

Overloads

Equals(Object)

Determines whether the specified object is equal to the current object.

Equals(Message)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Source:
Message.cs
Source:
Message.cs
Source:
Message.cs

Determines whether the specified object is equal to the current object.

C#
public override bool Equals(object o);
C#
public override bool Equals(object? o);
C#
public override readonly bool Equals(object? o);

Parameters

o
Object

The object to compare with the current object.

Returns

true if the specified object is equal to the current object; otherwise, false.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

Equals(Message)

Source:
Message.cs
Source:
Message.cs
Source:
Message.cs

Indicates whether the current object is equal to another object of the same type.

C#
public bool Equals(System.Windows.Forms.Message other);
C#
public readonly bool Equals(System.Windows.Forms.Message other);

Parameters

other
Message

An object to compare with this object.

Returns

true if the current object is equal to the other parameter; otherwise, false.

Implements

Applies to

Windows Desktop 9 and other versions
Product Versions
Windows Desktop 7, 8, 9