MediaCollectionItem.Length Property
Gets or sets the duration for which the current item is played.
Syntax
public TimeSpan Length {get; set;}
Property Value
System.TimeSpan. The length of time for which to play the current item. To play to the end of the media item, specify TimeSpan.MaxValue.
This property is read/write.
Requirements
Reference: Microsoft.MediaCenter
Namespace: Microsoft.MediaCenter
Assembly: Microsoft.MediaCenter.dll
Platform: Windows 7
See Also