TextTrackCueList Class
https://html.spec.whatwg.org/multipage/media.html#texttrackcuelist
public sealed class TextTrackCueList : IEnumerable<TextTrackCue>, IReadOnlyCollection<TextTrackCue>, IReadOnlyList<TextTrackCue>, IEnumerable- Implements
Properties
| Name | Description |
|---|---|
| Count | Gets the number of cues in the list. |
| Length | Gets the number of cues in the list. |
Count
TextTracks.csLength
TextTracks.csIndexers
| Name | Description |
|---|---|
| this[int] | Gets the cue at the given index. |
| this[uint] | Gets the cue at the given index (the cues are in text track cue order), or null when the index is out of range. |
ItemAt overloads
this[int]
TextTracks.csGets the cue at the given index.
public TextTrackCue this[int index] { get; }this[uint]
TextTracks.csGets the cue at the given index (the cues are in text track cue order), or null when the index is out of range.
public TextTrackCue? this[uint index] { get; }Methods
| Name | Description |
|---|---|
| GetCueById(string) | Returns the first cue of the list (in text track cue order) with the given identifier, or null when there is none or when the identifier is the empty string. |
| GetEnumerator() | Returns an enumerator that iterates through the collection. |
| System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Dom.TextTrackCue>.get_Item(int) | |
| System.Collections.IEnumerable.GetEnumerator() |
GetCueById(string)
TextTracks.csReturns the first cue of the list (in text track cue order) with the given identifier, or null when there is none or when the identifier is the empty string.
public TextTrackCue? GetCueById(string id)GetEnumerator()
TextTracks.csReturns an enumerator that iterates through the collection.
public IEnumerator<TextTrackCue> GetEnumerator()Returns
IEnumerator<TextTrackCue> An enumerator that can be used to iterate through the collection.
System.Collections.Generic.IReadOnlyList<Meziantou.Framework.WebPlatform.Dom.TextTrackCue>.get_Item(int)
TextTrackCue IReadOnlyList<TextTrackCue>.get_Item(int index)No documentation is available.