List.equal(List, List) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.