>I converted a line from C# to VB.NET and it gave this:
>
>
>For Each field As System.Reflection.FieldInfo In input.[GetType]().GetFields(Consts.AppConsts.FullBindingList)
>
>
>The designer does not like Consts.
>
>It says:
>
>"'Const' is not declared. It may be inaccessible due to its protection level."
>
>This does not seem to be a .NET recognized word. I also could not find any reference to it from the code I copied so to test it.
>
>Anyone would know anything about it?
The line in itself does not make sense out of context. GetFields() take a BindingFlags enum as a parameter. Presumably this has been declared in Consts.AppConsts.FullBindingList elsewhere in code.
See :
http://msdn.microsoft.com/en-gb/library/system.reflection.bindingflags.aspx