CurveKeyCollection.IndexOf Method (Microsoft.Xna.Framework)

Finds element in the collection and returns its index.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public int IndexOf(
	CurveKey item

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Microsoft.Xna.Framework.CurveKey
Element for the search.

Return Value

Type: System.Int32
Index of the element; or -1 if item is not found.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop