Int16KeyFrameCollection.Add(Int16KeyFrame) 方法

定义

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

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

参数

keyFrame
Int16KeyFrame

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

返回

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

适用于