Method for url parameter removal.

Namespace: MonoSoftware.Web
Assembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public static string RemoveFromUrl(
	this string url,
	string urlParameter
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function RemoveFromUrl ( 
	url As String,
	urlParameter As String
) As String
Visual C++
public:
[ExtensionAttribute]
static String^ RemoveFromUrl(
	String^ url, 
	String^ urlParameter
)
F#
static member RemoveFromUrl : 
        url : string * 
        urlParameter : string -> string 

Parameters

url
Type: System..::..String
Url string
urlParameter
Type: System..::..String
Url parameter

Return Value

Type: String
A string with removed url parameter.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also