我想检查Lambda-Expression中的字符串是否相等,但似乎只能使用功能“ .Contains”。如果要检查“ DESIGNATOR”,例如,如何修改下面的代码以检查字符串是否相等。 “ TestEquipment”?
Dim removeIN As New System.Collections.Generic.List(Of System.Data.DataRow)()
removeIN = dtEinbau.AsEnumerable().Where(Function(r) CBool(r("DESIGNATOR").ToString.Contains("TestEquipment")) = True).ToList()