Method for url parameters 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,
	List<string> urlParameters
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function RemoveFromUrl ( 
	url As String,
	urlParameters As List(Of String)
) As String
Visual C++
public:
[ExtensionAttribute]
static String^ RemoveFromUrl(
	String^ url, 
	List<String^>^ urlParameters
)
F#
static member RemoveFromUrl : 
        url : string * 
        urlParameters : List<string> -> string 

Parameters

url
Type: System..::..String
Url string
urlParameters
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
Url parameter

Return Value

Type: String
A string with removed url parameters.

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