Try the following to convert the class:
----------------------------------
Public MustInherit Class HashList
Implements IDictionary, IEnumerable
' ..... Rest of methods
' GetEnumerator method
Public Function GetEnumerator() as IEnumerator implements
IEnumerable.GetEnumerator
return m_oValues.GetEnumerator()
End Function
End Class
----------------------------------
There are several automatic C# to VB converters available to do the job
automatically. I recently formatted my machine, so have no links, but have a
search on
http://groups.google.com for C# to VB
HTH,
Trev.
"Craig Buchanan" <so*****@somewhere.com> wrote in message
news:OB**************@TK2MSFTNGP10.phx.gbl...
if i have a class that is declared
public abstract class Hashlist : IDictionary, IEnumerable
{
...}
how do i translate the following (method?) into vb?
IEnumerator IEnumerable.GetEnumerator()
{
return m_oValues.GetEnumerator();
}
thanks,
Craig Buchanan