NFloat.Equals Method

Definition

Overloads

Equals(Object)

Returns a value indicating whether this instance is equal to a specified object.

Equals(NFloat)

Returns a value indicating whether this instance is equal to a specified CLong value.

Equals(Object)

Returns a value indicating whether this instance is equal to a specified object.

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

Parameters

o
Object

An object to compare with this instance.

Returns

Boolean

true if o is an instance of NFloat and equals the value of this instance; otherwise, false.

Applies to

Equals(NFloat)

Returns a value indicating whether this instance is equal to a specified CLong value.

public:
 virtual bool Equals(System::Runtime::InteropServices::NFloat other);
public bool Equals (System.Runtime.InteropServices.NFloat other);
override this.Equals : System.Runtime.InteropServices.NFloat -> bool
Public Function Equals (other As NFloat) As Boolean

Parameters

other
NFloat

An NFloat value to compare to this instance.

Returns

Boolean

true if other has the same value as this instance; otherwise, false.

Implements

Applies to