VB.Net用linq怎么换行 & _不行

'删除四个号码,不保存
Dim xeles As IEnumerable(Of XElement) = From eles In xele.Elements Where eles.Name = "MobileTel" Or eles.Name = "HomeTel" Or eles.Name = "OfficeTel" Or eles.Name = "Fax" Select ele
xeles.Remove()

如题 用VB使用linq语句,一换行就报错,用 & _也不行

1个回答

 Dim xeles As IEnumerable(Of XElement) = From eles In xele.Elements _
                         Where eles.Name = "MobileTel" Or eles.Name = "HomeTel" Or eles.Name = "OfficeTel" Or eles.Name = "Fax" _
                                                 Select ele
xeles.Remove()
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问