Click or drag to resize

UrlUtilityAddScheme Method

Adds specified scheme to a given URL.

Namespace:  Dynamicweb.Analytics.Utilities
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public static string AddScheme(
	string url,
	string scheme,
	bool replaceExisting
)

Parameters

url
Type: SystemString
URL to add scheme to.
scheme
Type: SystemString
Scheme to add.
replaceExisting
Type: SystemBoolean
Value indicating whether to replace existing scheme.

Return Value

Type: String
URL with a scheme.
See Also