對於下面的ActionLink調用:通DisplayName屬性作爲參數
@Html.ActionLink("Customer Number", "Search", new { Search = ViewBag.Search, q = ViewBag.q, sortOrder = ViewBag.CustomerNoSortParm, })
我想在標籤中傳爲@ model.CustomerNumber產生,而不必通過它的「客戶編號」文本明確。對於參數是否存在@ Html.LabelFor(model => model.CustomerNumber)的equivilant?