This documentation is archived and is not being maintained.

Vector3DKeyFrameCollection.Add Method

Adds a Vector3DKeyFrame to the end of the collection.

Namespace:  System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public int Add(
	Vector3DKeyFrame keyFrame
You cannot use methods in XAML.


Type: System.Windows.Media.Animation.Vector3DKeyFrame

The Vector3DKeyFrame to add to the end of the collection.

Return Value

Type: System.Int32
The index at which the keyFrame was added.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0