title: Get a property of a anonymous type object from ListViewItem's prop Tag
body: <p>I have created a new ListViewItem an have assigned an unitializated object to its Tag property: </p>
  
  <pre><code>                            // Here, anonymous type object
  newListViewItem.Tag = new { XPATH = FindXPath(node) };
  </code></pre>
  
  <p>I have tryed to recover its XPATH property like: </p>
  
  <pre><code>// Recover Tag property on myObj
  Object myObj = myListView.Items[0].Tag;
  // Store XPATH property
  string xpath = myObj.XPATH;
  </code></pre>
  
  <p>But I get error: <code>Severity Code Description Project File Line Status suppressed. Error CS1061 'object' does not contain a definition for 'XPATH' nor is there any method of extension 'XPATH' that accepts a first argument of type 'object' (is there any using directive or an assembly reference?)</code></p>
  
  <p>I have tryed this same method with an declared object and it works, but with undefined object is not working. Sample code working:</p>
  
  <pre><code>// type object (class Xpath)
  newListViewItem.Tag = new Xpath(FindXPath(node));
  Xpath myObj = (Xpath)myListViewMostrarXML.Items[0].Tag;
  string xpath = myObj.XPATH;
  </code></pre>
  
  <p>Any idea?</p>