public Rm ( string name ) : void | ||
name | string | The name of the playlist to remove. |
return | void |
public void Rm(string name)
{
if (name == null)
throw new ArgumentNullException("name");
name = EscapeString(name);
MpdResponse response = this.getConnection().Exec("rm", new string[] { name });
if (response.IsError)
throw new MpdResponseException(response.ErrorCode, response.ErrorMessage);
}