Share via


CurveKeyCollection Class

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

Contains the CurveKeys making up a Curve.

Inheritance Hierarchy

System.Object
  Microsoft.Xna.Framework.CurveKeyCollection

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

Syntax

'Declaration
Public Class CurveKeyCollection
public class CurveKeyCollection

The CurveKeyCollection type exposes the following members.

Constructors

  Name Description
Public method CurveKeyCollection Initializes a new instance of CurveKeyCollection.

Top

Properties

  Name Description
Public property Count Gets the number of elements contained in the CurveKeyCollection.
Public property IsReadOnly Gets a value indicating whether the CurveKeyCollection is read-only.
Public property Item Gets or sets the CurveKey at the specified index.

Top

Methods

  Name Description
Public method Add Adds a CurveKey to the CurveKeyCollection.
Public method Clear Removes all CurveKeys from the CurveKeyCollection.
Public method Clone Creates a copy of the CurveKeyCollection.
Public method Contains Determines whether the CurveKeyCollection contains a specific CurveKey.
Public method CopyTo Copies the CurveKeys of the CurveKeyCollection to an array, starting at the array index provided.
Public method GetEnumerator Returns an enumerator that iterates through the CurveKeyCollection.
Public method IndexOf Determines the index of a CurveKey in the CurveKeyCollection.
Public method Remove Removes the first occurrence of a specific CurveKey from the CurveKeyCollection.
Public method RemoveAt Removes the CurveKey at the specified index.

Top

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.