Partager via


CompoundValue.Equality Method

Returns a value that indicates whether two compound values are equal.

Namespace: Microsoft.Modeling
Assembly: Microsoft.Xrt.Runtime (in Microsoft.Xrt.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
public static bool operator == (
    CompoundValue left,
    CompoundValue right
)

Parameters

  • left
    The first compound value to compare.
  • right
    The second compound value to compare.

Return Value

true if the left and right parameters structurally equal; otherwise, false.

Remarks

Two compound value types are considered equal if they are of the same type and are structurally equal, that is all of their fields are equal.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

CompoundValue Class
CompoundValue Members
Microsoft.Modeling Namespace
CompoundValue.Equals Method
Inequality