Click or drag to resize
LinkConverterConvertToAbsolute Method
Converts links from relative to absolute.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 10.0.0
Syntax
C#
public static string ConvertToAbsolute(
	string input,
	string baseUrl
)

Parameters

input
Type: SystemString
Text containing links with relative URLs
baseUrl
Type: SystemString
Base URL to use when resolving links

Return Value

Type: String
Text with all links converted to absolute form
See Also