StandardFormat.Equals Method

Definition

Returns a value that indicates whether this instance is equal to a specified object or StandardFormat.

Overloads

Equals(StandardFormat)

Returns a value that indicates whether the specified StandardFormat is equal to the current instance.

Equals(Object)

Returns a value that indicates whether the specified object is a StandardFormat object that is equal to the current instance.

Remarks

Two StandardFormat instances are equal if their Symbol and Precision properties are equal.

Equals(StandardFormat)

Source:
StandardFormat.cs
Source:
StandardFormat.cs
Source:
StandardFormat.cs

Returns a value that indicates whether the specified StandardFormat is equal to the current instance.

public:
 virtual bool Equals(System::Buffers::StandardFormat other);
public bool Equals (System.Buffers.StandardFormat other);
override this.Equals : System.Buffers.StandardFormat -> bool
Public Function Equals (other As StandardFormat) As Boolean

Parameters

other
StandardFormat

The format to compare to the current instance.

Returns

true if the two instances are equal; otherwise, false.

Implements

Applies to

Equals(Object)

Source:
StandardFormat.cs
Source:
StandardFormat.cs
Source:
StandardFormat.cs

Returns a value that indicates whether the specified object is a StandardFormat object that is equal to the current instance.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (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

An object to compare to the current instance.

Returns

true if the two instances are equal; otherwise, false.

Applies to