Edit

Share via


DateOnly.Equals Method

Definition

Overloads

Equals(DateOnly)

Returns a value indicating whether the value of this instance is equal to the value of the specified DateOnly instance.

Equals(Object)

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

Equals(DateOnly)

Source:
DateOnly.cs
Source:
DateOnly.cs
Source:
DateOnly.cs

Returns a value indicating whether the value of this instance is equal to the value of the specified DateOnly instance.

public:
 virtual bool Equals(DateOnly value);
public bool Equals (DateOnly value);
override this.Equals : DateOnly -> bool
Public Function Equals (value As DateOnly) As Boolean

Parameters

value
DateOnly

The object to compare to this instance.

Returns

true if the value parameter equals the value of this instance; otherwise, false.

Implements

Applies to

Equals(Object)

Source:
DateOnly.cs
Source:
DateOnly.cs
Source:
DateOnly.cs

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

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

Parameters

value
Object

The object to compare to this instance.

Returns

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

Applies to