title: c# Struggling to read ValueMember for item x from checkListBox
body: <p>I have a checkedListBox that has been populated from a Linq To SQL query (I do not want to bound the list directly to the Linq query).</p>
  
  <p>I populate it with:</p>
  
  <pre><code>var selected = from c in dc.Personnel
  select new { Item = c.PersonnelID, Description = c.FirstName + " " + c.Surname };
  
          foreach (var item in selected)
              myList.Items.Add(item.Item, item.Description);
  
          myList.DisplayMember = "Description";
          myList.ValueMember = "Item";
  </code></pre>
  
  <p>Now I want to retrieve the ValueMember at position x like:</p>
  
  <pre><code>myList.GetItem(0).ValueMember
  </code></pre>
  
  <p>Obviously that is not correct, but I'm not sure what the correct method is.  Statement above have compile error that <code>'object does not contain definition for ValueMember'</code>.</p>