April 2008
Intermediate to advanced
704 pages
17h 49m
English
Problem
You need to access a member of a type, but the type or member name is the same as a VB .NET keyword.
Solution
Surround all instances of the identifier name in your code with brackets ([]).
How It Works
The .NET Framework allows you to use software components developed in other .NET languages from within your VB .NET applications. Each language has its own set of keywords (or reserved words) and imposes different restrictions on the names programmers can assign to program elements such as types, members, and variables. Therefore, it is possible that a programmer developing a component in another language will inadvertently use a VB .NET keyword as the name of a program ...
Read now
Unlock full access