Sdílet prostřednictvím


CurveKey.CompareTo Method

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

Syntax

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

Parameters

Return Value

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

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

CurveKey Class
CurveKey Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone