Edit

Share via


TimeOnly.Equals Method

Definition

Overloads

Equals(TimeOnly)

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

Equals(Object)

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

Equals(TimeOnly)

Source:
TimeOnly.cs
Source:
TimeOnly.cs
Source:
TimeOnly.cs

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

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

Parameters

value
TimeOnly

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:
TimeOnly.cs
Source:
TimeOnly.cs
Source:
TimeOnly.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 TimeOnly and equals the value of this instance; otherwise, false.

Applies to