Example #1
0
        /// <summary>
        /// Add a note to the bookmark list.
        /// </summary>
        /// <param name="jid"></param>
        /// <param name="text"></param>
        /// <returns></returns>
        public BookmarkNote AddNote(JID jid, string text)
        {
            BookmarkNote n = new BookmarkNote(this.OwnerDocument);

            n.JID  = jid;
            n.Text = text;
            this.AddChild(n);
            return(n);
        }
Example #2
0
 /// <summary>
 /// Add a note to the bookmark list.
 /// </summary>
 /// <param name="jid"></param>
 /// <param name="text"></param>
 /// <returns></returns>
 public BookmarkNote AddNote(JID jid, string text)
 {
     BookmarkNote n = new BookmarkNote(this.OwnerDocument);
     n.JID = jid;
     n.Text = text;
     this.AddChild(n);
     return n;
 }