ByteKeyFrameCollection.Add(ByteKeyFrame) 方法

定义

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

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

参数

keyFrame
ByteKeyFrame

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

返回

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

适用于