Bridge

Script..::..EncodeURIComponent Method

The encodeURIComponent() method encodes a Uniform Resource Identifier (URI) component by replacing each instance of certain characters by one, two, three, or four escape sequences representing the UTF-8 encoding of the character (will only be four escape sequences for characters composed of two "surrogate" characters).

Namespace:  Bridge
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static string EncodeURIComponent(
	string component
)
<TemplateAttribute> _
Public Shared Function EncodeURIComponent ( _
	component As String _
) As String
[TemplateAttribute]
public:
static String^ EncodeURIComponent(
	String^ component
)

Parameters

component
Type: System..::..String
A component of a URI.

Return Value