Uredi

Deli z drugimi prek


StringToken.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 StringToken and is equal to this instance.

Equals(StringToken)

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

Equals(Object)

Checks if the given object is an instance of StringToken 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 with this StringToken.

Returns

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

Applies to

Equals(StringToken)

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

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

Parameters

obj
StringToken

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