HttpServerUtilityBase::UrlEncode Method (String^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, URL-encodes a string and returns the encoded string.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
virtual String^ UrlEncode(
	String^ s
)

Parameters

s
Type: System::String^

The text to URL-encode.

Return Value

Type: System::String^

The URL-encoded text.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: