BookMark
Represents a bookmark
Fields
Name |
string |
Bookmark name |
Path |
string |
Bookmark path |
Examples
Server demo_server = Site.GetServer("demo"); //Get the "demo" server from Site Manager if(demo_server != null) //Check if the "demo" server exists { demo_server.BookMarks.Add(new BookMark{Name = "bookmark 1", Path = "/download"}); //Add a bookmark to the "demo" server } Option.Setting.BookMarks.Add(new BookMark{Name = "Test", Path = "C:/Test"}); //Add a local bookmark |
See Also