|
WebExtensionsToAbsoluteUrl Method
|
Converts relative URL to an absolute URL.
Namespace: GSF.WebAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.246-beta
Syntaxpublic static string ToAbsoluteUrl(
this HtmlHelper helper,
string url
)
<ExtensionAttribute>
Public Shared Function ToAbsoluteUrl (
helper As HtmlHelper,
url As String
) As String
public:
[ExtensionAttribute]
static String^ ToAbsoluteUrl(
HtmlHelper^ helper,
String^ url
)
[<ExtensionAttribute>]
static member ToAbsoluteUrl :
helper : HtmlHelper *
url : string -> string
GSF.Web.WebExtensions.ToAbsoluteUrl = function(helper, url);
View SourceParameters
- helper HtmlHelper
- MVC HTML helper instance.
- url String
- Relative URL.
Return Value
StringAbsolute URL.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
HtmlHelper. 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