Redigera

Dela via


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.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

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

Equals(ParameterToken)

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

public:
 bool Equals(System::Reflection::Emit::ParameterToken obj);
public bool Equals (System.Reflection.Emit.ParameterToken obj);
override this.Equals : System.Reflection.Emit.ParameterToken -> bool
Public Function Equals (obj As ParameterToken) As Boolean

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