共用方式為


Object-Oriented Programming in Visual Basic 

Objects are central to Visual Basic programming: Forms and controls are objects. Databases are objects. If you have used Visual Basic for a while, or if you have worked through the examples in the documentation, then you have already programmed with objects, but there is a lot more to objects than what you have seen so far.

In the following topics, you will see how easy it is to create your own objects from the classes you define and to use objects to simplify your coding and increase code reuse.

In This Section

  • Early and Late Binding
    Describes binding, which is performed by the compiler when an object is assigned to an object variable, and the differences between early-bound and late-bound objects.