ICaptionsCollection

ICaptionsCollection interface

表示闭合字幕的集合。

public interface ICaptionsCollection : IEnumerable<ICaptions>  

Properties

NameDescription
Count { get; }返回集合中元素的数量。只读 Int32。
Item { get; }返回指定索引处的闭合字幕。只读 ICaptions

Methods

NameDescription
Add(string, Stream)从流中将 WebVTT 闭合字幕添加到集合的末尾。
Add(string, string)将 WebVTT 闭合字幕添加到集合的末尾。
Clear()从集合中移除所有闭合字幕。
Remove(ICaptions)从集合中移除指定的闭合字幕。
RemoveAt(int)移除指定索引处的闭合字幕。

See Also