Properties: field.name and field.value Dim fld as new list(of fields) Fld as sample values like below: Fld.name= "FirstName" Fld.value="Mahesh",
Now I want to see is there any attribute present in xml matching the fld.name attribute of inputr xml.
I can write the query like :
Dim test FUNC<XELEMENT,boolean > = function (w) fld.any(function (x) x.name=(w.attribute("seacrhfieled").value))
For example: if my list of fields contains say fld.name as "FirstName" , then it should return true as output.
I tried the above code in vb.net but was not able to find the proper solution. Please provide the equivalent code in vb.net and please explain how to debug these linq expressions as we cannot able to see what value is there at variables say function (W)