MapUnit.Equals(MapUnit, MapUnit) Method

Determines whether the two specified MapUnit objects are equal.

Namespace: DevExpress.UI.Xaml.Map

Assembly: DevExpress.UI.Xaml.Map.v18.1.dll

Declaration

public static bool Equals(
    MapUnit unit1,
    MapUnit unit2
)
Public Shared Function Equals(
    unit1 As MapUnit,
    unit2 As MapUnit
) As Boolean

Parameters

Type Name Description
MapUnit unit1

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

MapUnit unit2

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

Returns

Type Description
Boolean

true if specified objects are equal; otherwise false.

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