PlaylistEditorAdd(String, Boolean) Method

Adds a new track entry in the playlist.

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 void Add(
	string filepath,
	bool allowDuplicate = false
)

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.

Exceptions

Exception The TrackPath already exist in the playlist.

See Also