예제 #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;
 }
예제 #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);
        }