BooleanKeyFrameCollection.Add(BooleanKeyFrame) 方法

定义

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

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

参数

keyFrame
BooleanKeyFrame

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

返回

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

适用于