Struct.equal(Struct, Struct) 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 structs are equal.
public:
static bool equal(Microsoft::Dynamics::Ax::Xpp::Struct ^ _struct1, Microsoft::Dynamics::Ax::Xpp::Struct ^ _struct2);
public static bool equal (Microsoft.Dynamics.Ax.Xpp.Struct _struct1, Microsoft.Dynamics.Ax.Xpp.Struct _struct2);
static member equal : Microsoft.Dynamics.Ax.Xpp.Struct * Microsoft.Dynamics.Ax.Xpp.Struct -> bool
Public Shared Function equal (_struct1 As Struct, _struct2 As Struct) As Boolean
Parameters
- _struct1
- Struct
The second of the two structs to be compared.
- _struct2
- Struct
The second of the two structs to be compared.
Returns
true if the structs are equal; otherwise, false.
Remarks
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.