Edit

Share via


SingleKeyFrameCollection.Add(SingleKeyFrame) Method

Definition

Adds a SingleKeyFrame to the end of the collection.

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

Parameters

keyFrame
SingleKeyFrame

The SingleKeyFrame to add to the end of the collection.

Returns

The index at which the keyFrame was added.

Applies to