Click or drag to resize

WebExtensionsIncludeUrl Method

Includes an HTTP resource directly into an MVC view page.

Namespace: GSF.Web
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax
public static MvcHtmlString IncludeUrl(
	this HtmlHelper helper,
	string url
)
View Source

Parameters

helper  HtmlHelper
MVC HTML helper instance.
url  String
URL of resource to include.

Return Value

MvcHtmlString
Resolved URL resource as an MvcHtmlString.

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