Share via


SpeechCue.Duration Property

Definition

Gets or sets the duration of the cue.

public:
 property TimeSpan Duration { TimeSpan get(); void set(TimeSpan value); };
TimeSpan Duration();

void Duration(TimeSpan value);
public System.TimeSpan Duration { get; set; }
var timeSpan = speechCue.duration;
speechCue.duration = timeSpan;
Public Property Duration As TimeSpan

Property Value

The duration of the cue.

Implements

Remarks

At the end of a cue's duration, the TimedMetadataTrack.CueExited event is raised.

Applies to