Late Binding Concepts

Late binding is a particular programming technique that you use to resolve types at runtime and for types dynamic loading that is accomplished by assigning objects to variable of type Object. For a better understanding, consider its counterpart, the early binding. This happens at compile time where the compiler checks that argument types utilized to invoke methods match their signatures. An example is the background compiler that provides real-time check for types used in code, thanks to early binding. On the contrary, late binding requires you to specify the function signatures; moreover you must ensure that the code uses the correct types. Basically this means that binding requirements, such as binary files to load or ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.