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