Guest User

Untitled

a guest
Feb 17th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. foreach (ListItem listItem in items)
  2. {
  3.  
  4. console.WriteLine(listItem["Title"]=="XYZ") // say, there is no item with a title "XYZ"
  5. }
  6.  
  7. if (item.FieldValues.ContainsKey("Title"))
  8. {
  9. var value = item["Title"];
  10. }
Add Comment
Please, Sign In to add comment