public static ImageTag ( this helper, string fileName ) : System.Web.Mvc.MvcHtmlString | ||
helper | this | The class being extended with this method. |
fileName | string | The file name of the image including full relative path. Recommend coming from T4MVC Links property. |
Résultat | System.Web.Mvc.MvcHtmlString |
public static MvcHtmlString ImageTag(this HtmlHelper helper, string fileName)
{
return helper.ImageTag(fileName, null);
}
HtmlHelperExtension::ImageTag ( this helper, string fileName, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString |