Share via


List.equalTo(List) Method

Definition

Determines whether a list is the same as the current list.

public:
 bool equalTo(Microsoft::Dynamics::Ax::Xpp::List ^ _l);
public bool equalTo (Microsoft.Dynamics.Ax.Xpp.List _l);
member this.equalTo : Microsoft.Dynamics.Ax.Xpp.List -> bool
Public Function equalTo (_l As List) As Boolean

Parameters

_l
List

The list to be compared with the current list.

Returns

true if the specified list is identical to the list on which the method is called; 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. The equalTo method is a shortcut for using the List.equal method: equal(this, l).

Applies to