Class ChapterList.Enumerator
Enumerates the chapters in a ChapterList.
Inherited Members
Namespace: FFmpeg.Formats
Assembly: FFmpeg.dll
Syntax
public class ChapterList.Enumerator : IEnumerator<AVChapter>, IEnumerator, IDisposable
Constructors
View SourceEnumerator(ChapterList)
Enumerates the chapters in a ChapterList.
Declaration
public Enumerator(ChapterList list)
Parameters
| Type | Name | Description |
|---|---|---|
| ChapterList | list |
Properties
View SourceCurrent
Gets the chapter at the current position in the collection.
Declaration
public AVChapter Current { get; }
Property Value
| Type | Description |
|---|---|
| AVChapter |
Methods
View SourceDispose()
Releases the resources used by the enumerator.
Declaration
public void Dispose()
MoveNext()
Advances the enumerator to the next chapter in the collection.
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| bool | true if the enumerator was successfully advanced to the next chapter; otherwise, false if the end of the collection has been reached. |
Reset()
Resets the enumerator to its initial position, which is before the first chapter in the collection.
Declaration
public void Reset()