public NameValueCollection ToNameValuePairs()
{
NameValueCollection nvc = new NameValueCollection();
nvc.Add("annotation", this.AnnotationText);
nvc.Add("date", this.Date.ToString());
nvc.Add("author", this.Author);
nvc.Add("originalSelection", this.OriginalSelection);
nvc.Add("selection", this.Selection);
nvc.Add("selectionRightContext", this.SelectionRightContext);
nvc.Add("selectionLeftContext", this.SelectionLeftContext);
nvc.Add("state", this.State);
nvc.Add("target", this.Target);
return nvc;
}