Url WithReference Method C# API
Initialises a new instance of the Url class using the attributes of this Url, but with the specified reference (replacing the existing reference, also known as the fragment ID, if present).

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: (

public Url WithReference(
	string reference


Type: System String
The new reference.

Return Value

A new Url object which is the same as this Url but with the specified reference.

The reference follows a # at the end of a URL, and is often used to refer to a specific location in a HTML document.

e.g. http://www.myCompany.co.uk/index.php#chapter3

See Also