SiteBaseCS_ReplaceRelativeUrls Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Returns a string where all occurrences of relative URL's in a string containing HTML is replaced with absolute URL's.

Namespace: ContentStudio.Site
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public string CS_ReplaceRelativeUrls(
	string html,
	string url
)

Parameters

html
Type: SystemString
Source HTML code.
url
Type: SystemString
An absolute URL to replace relative URL's with.

Return Value

Type: String
Returns a string where all occurrences of relative URL's in a string containing HTML is replaced with absolute URL's.
See Also

Reference