CurveKeyCollection.IndexOf Method

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

Determines the index of a CurveKey in the CurveKeyCollection.

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

Syntax

'Declaration
Public Function IndexOf ( _
    item As CurveKey _
) As Integer
public int IndexOf(
    CurveKey item
)

Parameters

Return Value

Type: System.Int32
The index of the CurveKey if found in the CurveKeyCollection; −1 otherwise.

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.