TimelineCollection Constructor (IEnumerable<Timeline>)

 

Initializes a new instance of the TimelineCollection class that includes all of the same elements as an existing collection.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public TimelineCollection(
	IEnumerable<Timeline> collection
)

Parameters

collection
Type: System.Collections.Generic.IEnumerable<Timeline>

Collection of elements this instance is based on.

Exception Condition
ArgumentException

Occurs when collection is empty.

.NET Framework
Available since 3.0
Return to top
Show: