List.equal(List, List) Method

Definition

Determines whether two lists are identical.

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

Parameters

_list1
List

The second list to be compared.

_list2
List

The second list to be compared.

Returns

true if the two lists are identical; otherwise, false.

Remarks

A list is equal to another list if the two lists are the same type, contain the same number of elements, and the elements occur in the same order.

Applies to