Skip to main content

MapUnit.Equals(MapUnit, MapUnit) Method

Determines whether the two specified MapUnit objects are equal.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

Declaration

public static bool Equals(
    MapUnit unit1,
    MapUnit unit2
)

Parameters

Name Type Description
unit1 MapUnit

A MapUnit instance that specifies the first map unit to compare.

unit2 MapUnit

A MapUnit instance that specifies the second map unit to compare.

Returns

Type Description
Boolean

true if specified objects are equal; otherwise false.

Remarks

Two MapUnit objects are considered equal if their MapUnit.X and MapUnit.Y property values are equal.

See Also