Hi,
I recommend to use Dictionaty to extract content of ListItem.
First, create Dictionary<string,object>
in ForEachListItem as the following
dict = ListItem.Fields.ToDictionary(Function(x) x.Name, Function(x) x.Value)
Then, for example,
dict("LinkTitle").ToString
returns value of LinkTitle.
We can also get list of key from dict.Keys
Hope this helps you.
Regards,