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: 9.5.8.37 (1.0.0.0)
Syntax

public Url WithReference(
	string reference
)

Parameters

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.
Remarks

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