Terms and Definitions

Since VB 6 was not an object-oriented language, you may not be familiar with some of the terms. Let’s begin with definitions: .

  • Class— A programming entity that contains members and methods for accessing the members. A class becomes a data type so that identifiers can be declared that reference instances of the class. The class is not an object; it is the definition of an object. Classes can inherit from other classes and can be inherited by other classes.

  • Object— An instance of a class. Once a class is declared and instantiated it becomes an object. There can be many objects of the same class.

  • Structure— A structure is similar to a class in that it can contain members and methods, but it cannot be inherited. It is also ...

Get ADO.NET Programming in Visual Basic™ .NET 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.