470,641 Members | 1,587 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,641 developers. It's quick & easy.

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

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
0 1188

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Rob Hunter | last post: by
reply views Thread by Dean N. Williams | last post: by
2 posts views Thread by Katit | last post: by
4 posts views Thread by rebeccatre | last post: by
1 post views Thread by nelsonivan | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.