MediaTimeline Constructor (Nullable<TimeSpan>, Duration)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the MediaTimeline that begins at the specified time and lasts for the specified duration.

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

public MediaTimeline(
	Nullable<TimeSpan> beginTime,
	Duration duration
)

Parameters

beginTime
Type: System.Nullable<TimeSpan>

The time to begin media playback.

duration
Type: System.Windows.Duration

The length of time for media playback.

.NET Framework
Available since 3.0
Return to top
Show: