Scripting.Dictionary.this[ref object]' is not supported by the language
<p>I am converting a VB6 project to C# .Net but I have problems using <code>Scripting.Dictionary</code>. The error message is <strong>" Scripting.Dictionary.this[ref object]' is not supported by the language "</strong>. I want to get the item for a specific key.</p>

<pre><code>key=astr[n];
Scripting.Dictionary m_dicValueOf;
strXPath = m_dicValueOf[astr[n]];
</code></pre>
