CurveKeyCollection Class (Microsoft.Xna.Framework)

The collection of the CurveKey elements and a part of the Curve class.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public class CurveKeyCollection : ICollection<CurveKey>, IEnumerable<CurveKey>, IEnumerable

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The CurveKeyCollection type exposes the following members.

  Platforms Name Description
CurveKeyCollection Creates a new instance of CurveKeyCollection class. 
  Platforms Name Description
Count Returns the count of keys in this collection. (Implements Count().)
IsReadOnly Returns false because it is not a read-only collection. (Implements IsReadOnly().)
Item Indexer. 
  Platforms Name Description
Add Adds a key to this collection. (Implements ICollection<T>.Add().)
Clear Removes all keys from this collection. (Implements ICollection<T>.Clear().)
Clone Creates a copy of this collection. 
Contains Determines whether this collection contains a specific key. (Implements ICollection<T>.Contains().)
CopyTo Copies the keys of this collection to an array, starting at the array index provided. (Implements ICollection<T>.CopyTo().)
GetEnumerator Returns an enumerator that iterates through the collection. (Implements IEnumerable<T>.GetEnumerator().)
IndexOf Finds element in the collection and returns its index. 
Remove Removes specific element. (Implements ICollection<T>.Remove().)
RemoveAt Removes element at the specified index. 
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop