DoubleKeyFrameCollection.Add(DoubleKeyFrame) Method

Definition

Adds a DoubleKeyFrame to the end of the collection.

public:
 int Add(System::Windows::Media::Animation::DoubleKeyFrame ^ keyFrame);
public int Add (System.Windows.Media.Animation.DoubleKeyFrame keyFrame);
member this.Add : System.Windows.Media.Animation.DoubleKeyFrame -> int
Public Function Add (keyFrame As DoubleKeyFrame) As Integer

Parameters

keyFrame
DoubleKeyFrame

The DoubleKeyFrame to add to the end of the collection.

Returns

The index at which the keyFrame was added.

Applies to