title: url sharepoint list camlquery
body: <p>I'm trying to collect my url and the description of the url stored in a column of a list from sharepoint and i don't know how to collect the URL value.</p>
  
  <p>This is my code :</p>
  
  <pre><code>            var queryResultSaleListItems = clientContext.LoadQuery(listData);
  
              clientContext.ExecuteQuery();
  
              //Read the Data into the Object
              var TipsList = from Tips in queryResultSaleListItems
                              select Tips;
              ObservableCollection&lt;Tips&gt; colTips = new ObservableCollection&lt;Tips&gt;();
              //Read Every List Item and Display Data into the DataGrid
              foreach (SPSClient.ListItem item in TipsList)
              {
  
                  var tips = new Tips();
                  tips.TitleTip = item.FieldValues.Values.ElementAt(1).ToString();
                  tips.App = item.FieldValues.Values.ElementAt(4).ToString();
                  //should collect the url 
                  tips.URL = item.FieldValues.Values.ElementAt(5).ToString();
                  //should collect the description of the url
                  tips.URLdesc = item.FieldValues.Values.ElementAt(5).ToString();
  
                  colTips.Add(tips);
              }
              ListboxTips.DataContext = colTips;
  </code></pre>
  
  <p>In my expression its > </p>
  
  <p>((Microsoft.SharePoint.Client.FieldUrlValue)(item.FieldValues.Values.ElementAt(5))).Url</p>
  
  <p>((Microsoft.SharePoint.Client.FieldUrlValue)(item.FieldValues.Values.ElementAt(5))).Description</p>
  
  <p>Thanks for your help,</p>