URLHelperGetAbsoluteUrl Method (String, String) |
Returns the absolute URL (including port) representation for the given relative URL, uses given domain and application path.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax public static string GetAbsoluteUrl(
string relativeUrl,
string domainName
)
Parameters
- relativeUrl
- Type: SystemString
Relative URL to translate - domainName
- Type: SystemString
Domain name
Return Value
Type:
StringSee Also