Is there any way to determine an unknown Type?
<p>In certain cases I need to determine a type and I just don't know what the type is.  For example, DevExpress plugins request a type when getting data.</p>

<p><code>e.Data.GetDataPresent(typeof(DataRow))</code></p>

<p>I set the data source as a DataTable.  I don't know if the data present is actually a String, DataRow, DataColumn or other.  </p>

<p>Is there any way to determine this type without having to hack at all the possibilties one by one in the debugger/Immediate window?</p>

<p><strong>UPDATE</strong><br />
In this case it's a winform app event</p>

<pre><code>private void grid_VDragOver(object sender, System.Windows.Forms.DragEventArgs e)
        {
            if (e.Data.GetDataPresent(typeof(DataColumn)))//DataColumn is just a guess..no idea
                e.Effect = DragDropEffects.Move;
            else
                e.Effect = DragDropEffects.None;
        }
</code></pre>
