private string GetUserTextAsString(string description, bool caseSensitive) { UserTextInformationFrame frame = UserTextInformationFrame.Get(this, description, Tag.DefaultEncoding, false, caseSensitive); string result = frame == null?null:string.Join(";", frame.Text); return(string.IsNullOrEmpty(result)?null:result); }
private void SetUserTextAsString(string description, string text, bool caseSensitive) { UserTextInformationFrame frame = UserTextInformationFrame.Get(this, description, Tag.DefaultEncoding, true, caseSensitive); if (!string.IsNullOrEmpty(text)) { frame.Text = text.Split(';'); } else { RemoveFrame(frame); } }