By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,843 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,843 IT Pros & Developers. It's quick & easy.

Trying to read from generic IList but getting "Option Strict On disallows late binding" restriction

P: n/a
Hi,

I'm wanting to iterate over a generic IList, but the code won't compile
because the blue sqiggle line under:

_DataRow("SecurityFunctionName") = _IList(i).SecurityFunctionName;

sez "Option Strict On disallows late binding"

If I comment out the line and get to that place in the debugger, I can pull
the value in the Innediate window and it works. But I can't get around the
late binding restriction.

I've tried using ctype but that didn't seem to help.

Any feedback greatly appreciated.

Ron

Mar 20 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.