HtmlWindow.NavigateToBookmark Method

Silverlight

Changes the URL of the current page to a location that is specified by a named bookmark.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

public void NavigateToBookmark(
	string bookmark
)

Parameters

bookmark
Type: System.String
The name of a bookmark.

This method changes the hash value of the current page's URL to the value that is specified by the bookmark parameter.

Changing the hash value of the URL may cause the page to scroll to an in-page anchor. Note that changing the hash value does not cause the browser to navigate away from the current page.

Internally, this method calls the CurrentBookmark property.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: