PlaylistEditorAdd(String, Boolean) Method
Adds a new track entry in the playlist.
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 void Add(
string filepath,
bool allowDuplicate = false
)
Public Sub Add (
filepath As String,
Optional allowDuplicate As Boolean = false
)
Dim instance As PlaylistEditor
Dim filepath As String
Dim allowDuplicate As Boolean
instance.Add(filepath, allowDuplicate)
public:
void Add(
String^ filepath,
bool allowDuplicate = false
)
member Add :
filepath : string *
?allowDuplicate : bool
(* Defaults:
let _allowDuplicate = defaultArg allowDuplicate false
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- filepath String
-
The track path to add.
- allowDuplicate Boolean (Optional)
-
If set to an exception will be thrown if the track already exists in the playlist.
Exception
|
The TrackPath already exist in the playlist.
|