CurveKey.CompareTo Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Compares this instance to another CurveKey and returns an indication of their relative values.

Namespace:  Microsoft.Xna.Framework
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

Syntax

'Declaration
Public Function CompareTo ( _
    other As CurveKey _
) As Integer
public int CompareTo(
    CurveKey other
)

Parameters

Return Value

Type: System.Int32
Zero if the positions are the same; -1 if this CurveKey comes before other and 1 if this CurveKey comes after other.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.