Click or drag to resize
HTMLHelperEncodeLinkReference Method

Note: This API is now obsolete.

Encodes URL in order to be used as href parameter in link.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("Method is obsolete. Use EncodeForHtmlAttribute instead.")]
public static string EncodeLinkReference(
	string url
)

Parameters

url
Type: SystemString
URL to encode.

Return Value

Type: String
See Also