CurveKeyCollection Class (Microsoft.Xna.Framework)

The collection of the CurveKey elements and a part of the Curve class.
System.Object
   Microsoft.Xna.Framework.CurveKeyCollection

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
[DefaultMemberAttribute("Item")]
[DataContractAttribute]
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. 
Top
  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. 
Top
  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. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web