Skip to main content
A newer version of this page is available. .

Holiday.Equals(Object) Method

Determines whether the specified object is equal to the current Holiday instance.

Namespace: DevExpress.Schedule

Assembly: DevExpress.Data.v18.2.dll

Declaration

public override bool Equals(
    object obj
)

Parameters

Name Type Description
obj Object

The object to compare with the current object.

Returns

Type Description
Boolean

true if the specified object is equal to the current Holiday instance; otherwise false.

Remarks

Two Holiday objects are considered equal if their KnownDateDay.Date, KnownDateDay.DisplayName and Holiday.Location property values are the same.

See Also