Editar

Partilhar via


TimelineCollection.IndexOf(Timeline) Method

Definition

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