Share via


CompoundValue.Equals Method

Determines whether the specified compound value is equal to the current compound value.

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

Usage

'Usage

Syntax

'Declaration
public override bool Equals (
    Object obj
)

Parameters

  • obj
    The compound value to compare with the current compound value.

Return Value

true if the specified compound value is structurally equal to the current compound value; 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