0
我有下面的C#代码:C#到VB.Net转换援助
public static MvcHtmlString ExtendedDropDownListFor<TModel, TProperty>(this HtmlHelper<TModel> htmlHelper, Expression<Func<TModel, TProperty>> expression, IEnumerable<ExtendedSelectListItem> selectList, string optionLabel, object htmlAttributes)
{
return SelectInternal(htmlHelper, optionLabel, ExpressionHelper.GetExpressionText(expression), selectList, false /* allowMultiple */, HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes));
}
我用的这一个VB转换挣扎,并想知道如果有人能帮助。具体来说,功能签名中的行:
Expression<Func<TModel, TProperty>> expression
感谢您的任何帮助。
有时,制定问题有助于确定答案的真实来源。 –