MediaStreamSample.Duration Property
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 duration of the sample.
public:
property TimeSpan Duration { TimeSpan get(); void set(TimeSpan value); };
TimeSpan Duration();
void Duration(TimeSpan value);
public System.TimeSpan Duration { get; set; }
var timeSpan = mediaStreamSample.duration;
mediaStreamSample.duration = timeSpan;
Public Property Duration As TimeSpan
Property Value
The duration of the sample.