Defines a playlist to be used with the Player.
Declaration Syntax
C# | Visual Basic |
public class Playlist
Public Class Playlist
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
Playlist()()()() |
Default constructor for the Playlist class.
| |
AddItem(String) |
Adds an item at the end of the playlist.
| |
AddItem(AudioFile) |
Adds an item at the end of the playlist.
| |
AddItems(List<(Of <<'(String>)>>)) |
Adds a list of items at the end of the playlist.
| |
AddItems(List<(Of <<'(AudioFile>)>>)) |
Adds a list of items at the end of the playlist.
| |
Clear()()()() |
Clears the playlist.
| |
CurrentItem |
Returns the current item.
| |
CurrentItemIndex |
Returns the current playlist item index.
| |
DisposeChannels()()()() |
Disposes channels and set them to null.
| |
Equals(Object) | (Inherited from Object.) | |
FilePath |
Playlist file path.
| |
Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
First()()()() |
Sets the playlist to the first item.
| |
Format |
Playlist format.
| |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
GoTo(Int32) |
Go to a specific item using the playlist item index.
| |
GoTo(Guid) |
Go to a specific item using the playlist item identifier.
| |
GoTo(String) |
Go to the first instance of the audio file path in the list.
| |
InsertItem(String, Int32) |
Inserts an item at a specific location in the playlist.
| |
InsertItem(AudioFile, Int32) |
Inserts an item at a specific location in the playlist.
| |
Items |
List of playlist items.
| |
LoadPlaylist(String) |
Loads a playlist (from any of the following formats: M3U, M3U8, PLS and XSPF).
Note: long playlists may take a while to load using this method!
| |
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Next()()()() |
Go to the next item.
| |
Previous()()()() |
Go to the previous item.
| |
RemoveItem(Int32) |
Removes the item at the location passed in the index parameter.
| |
ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | |
Playlist |