This documentation is archived and is not being maintained.

Objects

When you create an application in Visual Basic .NET, you constantly work with objects. You can use objects provided by Visual Basic — such as controls, forms, and data access objects or can also control objects from other applications within your Visual Basic application. You can even create your own objects, and define additional properties and methods for them. Objects act like prefabricated building blocks for programs — they let you to write a piece of code once and reuse it over and over.

The following topics discuss objects in detail:

In This Section

What Is an Object?
Provides an overview of objects and classes.
Relation of Objects to Each Other
Discusses object hierarchies, collections, and containers.
The Basics of Working with Objects
Provides an overview of how objects are used.
Objects, Properties, Methods, and Events
Summarizes the properties, methods and events exposed by objects.

Related Sections

Creating and Using Objects
Shows how to create and use instances of classes.
Object-Oriented Programming in Visual Basic
Covers object-oriented programming basics.
Show: