Generic method for strongly typed url removal.
Namespace: MonoSoftware.WebAssembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public static string Remove<T>(
this string url,
UrlParam<T> urlParam
)
|
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function Remove(Of T) (
url As String,
urlParam As UrlParam(Of T)
) As String |
Visual C++ |
---|
public:
[ExtensionAttribute]
generic<typename T>
static String^ Remove(
String^ url,
UrlParam<T>^ urlParam
) |
F# |
---|
static member Remove :
url : string *
urlParam : UrlParam<'T> -> string
|
Type Parameters
Return Value
Type:
StringA 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