Namespace: Cartella.Models
Assembly: CartellaDomainModels (in CartellaDomainModels.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
public static string Image(
	this HtmlHelper helper,
	string imageSrc,
	string imgAltText,
	bool isAsset
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Image ( _
	helper As HtmlHelper, _
	imageSrc As String, _
	imgAltText As String, _
	isAsset As Boolean _
) As String
Visual C++
[ExtensionAttribute]
public:
static String^ Image(
	HtmlHelper^ helper, 
	String^ imageSrc, 
	String^ imgAltText, 
	bool isAsset
)

Parameters

helper
Type: HtmlHelper
imageSrc
Type: System..::..String
imgAltText
Type: System..::..String
isAsset
Type: System..::..Boolean

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 or .

See Also