Skip to main content

DateTimeRange.Equals(Object) Method

Defines whether the given object is equal to the current DateTimeRange instance.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

public override bool Equals(
    object obj
)

Parameters

Name Type Description
obj Object

The object to compare with the current instance.

Returns

Type Description
Boolean

true, if the given object is equal to the current DateTimeRange instance; otherwise, false.

Remarks

Two DateTimeRange objects are considered equal if their DateTimeRange.Start and DateTimeRange.End property values are the same.

See Also