EventToken.Equals Method

Definition

Indicates whether the current instance is equal to a specified object.

Overloads

Equals(Object)

Checks if the given object is an instance of EventToken and is equal to this instance.

Equals(EventToken)

Indicates whether the current instance is equal to the specified EventToken.

Equals(Object)

Checks if the given object is an instance of EventToken and is equal to this instance.

C#
public override bool Equals(object obj);

Parameters

obj
Object

The object to be compared with this instance.

Returns

true if obj is an instance of EventToken and equals the current instance; otherwise, false.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.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

Equals(EventToken)

Indicates whether the current instance is equal to the specified EventToken.

C#
public bool Equals(System.Reflection.Emit.EventToken obj);

Parameters

obj
EventToken

The EventToken to compare to the current instance.

Returns

true if the value of obj is equal to the value of the current instance; otherwise, false.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 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