Partilhar via


Map.equal(Map, Map) Method

Definition

Determines whether two maps are equal.

public:
 static bool equal(Microsoft::Dynamics::Ax::Xpp::Map ^ _map1, Microsoft::Dynamics::Ax::Xpp::Map ^ _map2);
public static bool equal (Microsoft.Dynamics.Ax.Xpp.Map _map1, Microsoft.Dynamics.Ax.Xpp.Map _map2);
static member equal : Microsoft.Dynamics.Ax.Xpp.Map * Microsoft.Dynamics.Ax.Xpp.Map -> bool
Public Shared Function equal (_map1 As Map, _map2 As Map) As Boolean

Parameters

_map1
Map

The second map to compare.

_map2
Map

The second map to compare.

Returns

true if the two maps are equal; otherwise, false.

Remarks

Two maps are equal if they contain the same number of elements, their key sets are the same, and each key in the key set maps to the same value in both maps.

Applies to