CurveKey.CompareTo Method

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

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

public int CompareTo (
         CurveKey other
)

Parameters

other
Type: CurveKey
CurveKey to compare to.

Return Value

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

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show: