ParameterToken.Equals Method

Definition

Indicates whether an object represents the same parameter as the current ParameterToken.

Overloads

Equals(Object)

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

Equals(ParameterToken)

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

Equals(Object)

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

C#
public override bool Equals(object obj);

Parameters

obj
Object

The object to compare to this object.

Returns

true if obj is an instance of ParameterToken and equals the current instance; 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

Equals(ParameterToken)

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

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

Parameters

obj
ParameterToken

The ParameterToken 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 and other versions
Product Versions
.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