PlaylistEditor Constructor

Initializes a new instance of the PlaylistEditor class.

Definition

Namespace: DevCase.Core.Media.Sound
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public PlaylistEditor(
	string playlistFile,
	PlaylistType playlistType,
	bool append,
	Encoding fileEncoding = null
)

Parameters

playlistFile  String
The playlist filepath.
playlistType  PlaylistType
The type of the playlist.
append  Boolean
If set to , the PlaylistEditor instance will assume that the playlist file already exist, and will append any new entries in the existing file.

If set to , the PlaylistEditor instance will assume that the playlist file does not exist, and will create the file.

fileEncoding  Encoding  (Optional)
Optionally indicates the file encoding to write/read the playlist content.

The default value is Default

See Also