【发布时间】:2010-03-09 18:47:26
【问题描述】:
VB.NET 等价于这个 C# 代码?
ctx.Load(site,
x => x.Lists.Where(l => l.Title != null));
我试过了
ctx.Load(site, Function(x) x.Lists.Where(Function(l) l.Title IsNot Nothing))
但 "The expression (Convert(l.Title) != null) is not supported." 会出现此错误
想法
【问题讨论】:
-
Title 是一个恰好是 String 类型的属性
标签: vb.net c#-to-vb.net