PlaylistEditor Constructor
Namespace: DevCase.Core.Media.SoundAssembly: 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
)
Public Sub New (
playlistFile As String,
playlistType As PlaylistType,
append As Boolean,
Optional fileEncoding As Encoding = Nothing
)
Dim playlistFile As String
Dim playlistType As PlaylistType
Dim append As Boolean
Dim fileEncoding As Encoding
Dim instance As New PlaylistEditor(playlistFile,
playlistType, append, fileEncoding)
public:
PlaylistEditor(
String^ playlistFile,
PlaylistType playlistType,
bool append,
Encoding^ fileEncoding = nullptr
)
new :
playlistFile : string *
playlistType : PlaylistType *
append : bool *
?fileEncoding : Encoding
(* Defaults:
let _fileEncoding = defaultArg fileEncoding null
*)
-> PlaylistEditor
No code example is currently available or this language may not be supported.
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