Прочетете на английски Редактиране

Споделяне чрез


NFloat.Equals Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

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.

Equals(NFloat)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

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

C#
public bool Equals(System.Runtime.InteropServices.NFloat other);

Parameters

other
NFloat

An NFloat value to compare to this instance.

Returns

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

Implements

Applies to

.NET 10 и други версии
Продукт Версии
.NET 6, 7, 8, 9, 10

Equals(Object)

Source:
NFloat.cs
Source:
NFloat.cs
Source:
NFloat.cs

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

C#
public override bool Equals(object? obj);
C#
public override bool Equals(object? o);

Parameters

objo
Object

An object to compare with this instance.

Returns

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

Applies to

.NET 10 и други версии
Продукт Версии
.NET 6, 7, 8, 9, 10