Encodes a string so that it is safe to include in a URL.

Namespace:  Endeca.Web.Url.Seo
Assembly:  Endeca.Web.Url.Seo (in Endeca.Web.Url.Seo.dll) Version: 2.1.1.0 (2.1.1.0)

Syntax

C#
string EncodeString(
	string stringToEncode
)
Visual Basic (Declaration)
Function EncodeString ( _
	stringToEncode As String _
) As String
Visual C++
String^ EncodeString(
	String^ stringToEncode
)

Parameters

stringToEncode
Type: System..::.String
The string to encode.

Return Value

URL encoded URL string.

See Also