TimelineCollection.IndexOf(Timeline) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the zero-based index position of a Timeline object in the TimelineCollection.
public:
virtual int IndexOf(System::Windows::Media::Animation::Timeline ^ value);
public int IndexOf (System.Windows.Media.Animation.Timeline value);
abstract member IndexOf : System.Windows.Media.Animation.Timeline -> int
override this.IndexOf : System.Windows.Media.Animation.Timeline -> int
Public Function IndexOf (value As Timeline) As Integer
Parameters
- value
- Timeline
The object to locate.
Returns
The index position of value
within this list. If not found, -1 is returned.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.