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

MapUnit.Equals(MapUnit, MapUnit) Method

Determines whether the two specified MapUnit objects are equal.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v18.2.dll

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