Struct::equal Method [AX 2012]

Determines whether two structs are equal.

client server public static boolean equal(Struct struct1, Struct struct2)

Run On

Called

Parameters

struct1
Type: Struct Class
The first of the two structs to be compared.
struct2
Type: Struct Class
The second of the two structs to be compared.

Return Value

Type: boolean
true if the structs are equal; otherwise, false.

Two structs are equal if they have the same number of fields, the field names are the same, and each field is the same type and has the same value.

Show: