public static ActionImageTag ( this helper, System.Web.Mvc.ActionResult result, string imageFileName, object anchorHtmlAttributes, object imageHtmlAttributes ) : System.Web.Mvc.MvcHtmlString | ||
helper | this | The class being extended with this method. |
result | System.Web.Mvc.ActionResult | An IT4MVCActionResult from a T4 MVC action method used to help build urls. |
imageFileName | string | The file name of the image including full relative path. Recommend coming from T4MVC Links property. |
anchorHtmlAttributes | object | A dynamic object with name and value pairs for the anchor tag. Example: new {data-custom1="abc", @class="large"} |
imageHtmlAttributes | object | A dynamic object with name and value pairs for the image tag. Example: new {data-custom1="abc", @class="large"} |
Результат | System.Web.Mvc.MvcHtmlString |
HtmlHelperExtension::ActionImageTag ( this helper, string action, string controllerName, string imageFileName ) : System.Web.Mvc.MvcHtmlString | |
HtmlHelperExtension::ActionImageTag ( this helper, string action, string controllerName, string imageFileName, object routeValues ) : System.Web.Mvc.MvcHtmlString | |
HtmlHelperExtension::ActionImageTag ( this helper, string action, string controllerName, string imageFileName, object routeValues, object anchorHtmlAttributes, object imageHtmlAttributes ) : System.Web.Mvc.MvcHtmlString |