MatrixKeyFrameCollection.Add(MatrixKeyFrame) 方法

定义

向集合的末尾添加一个 MatrixKeyFrameAdds a MatrixKeyFrame to the end of the collection.

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

参数

keyFrame
MatrixKeyFrame

要添加到集合末尾的 MatrixKeyFrameThe MatrixKeyFrame to add to the end of the collection.

返回

要添加 keyFrame 的位置处的索引。The index at which the keyFrame was added.

适用于