Edit

Share via


FieldToken.Equals Method

Definition

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

Overloads

Equals(Object)

Determines if an object is an instance of FieldToken and is equal to this instance.

Equals(FieldToken)

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

Equals(Object)

Determines if an object is an instance of FieldToken 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 FieldToken.

Returns

true if obj is an instance of FieldToken and is equal to this object; otherwise, false.

Applies to

Equals(FieldToken)

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

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

Parameters

obj
FieldToken

The FieldToken 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