Candor.Web.Mvc.HtmlHelperExtension.ImageTag C# (CSharp) Method

ImageTag() public static method

Generates an html image tag using the specified image fileName and any other html attributes to be applied to the image tag.
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.
return System.Web.Mvc.MvcHtmlString
        public static MvcHtmlString ImageTag(this HtmlHelper helper, string fileName)
        {
            return helper.ImageTag(fileName, null);
        }

Same methods

HtmlHelperExtension::ImageTag ( this helper, string fileName, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString