Vector3DKeyFrameCollection.IndexOf Method (Vector3DKeyFrame)
Searches for the specified Vector3DKeyFrame and returns the zero-based index of the first occurrence within the entire collection.
Assembly: PresentationCore (in PresentationCore.dll)
Return ValueType: System.Int32
The zero-based index of the first occurrence of keyFrame within the entire collection, if found; otherwise, -1.
The collection is searched forward starting at the first key frame and ending at the last key frame.
This method determines equality by calling Object.Equals.
Available since 3.0