ICaptionsCollection

ICaptionsCollection 接口

表示闭合字幕的集合。

public interface ICaptionsCollection : IEnumerable<ICaptions>

属性

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

方法

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

另请参阅