Beispiel #1
0
 /// <summary>
 /// Add a URL bookmark
 /// </summary>
 /// <param name="URL">The URL to add</param>
 /// <param name="name">Descriptive text</param>
 /// <returns></returns>
 public BookmarkURL AddURL(string URL, string name)
 {
     BookmarkURL u = new BookmarkURL(this.OwnerDocument);
     u.URL = URL;
     u.URLName = name;
     this.AddChild(u);
     return u;
 }
Beispiel #2
0
        /// <summary>
        /// Add a URL bookmark
        /// </summary>
        /// <param name="URL">The URL to add</param>
        /// <param name="name">Descriptive text</param>
        /// <returns></returns>
        public BookmarkURL AddURL(string URL, string name)
        {
            BookmarkURL u = new BookmarkURL(this.OwnerDocument);

            u.URL     = URL;
            u.URLName = name;
            this.AddChild(u);
            return(u);
        }