Members

Technology Zones

IBM Learning Center

Articles

Hosted By

MaximumASP

Info

Rated
Read 21,798 times

Contents

Related Categories

Visual Studio Next Generation: Language Enhancements - Shared Members

Microsoft

Shared Members

Shared members are data and function members of classes that are shared by all instances of the class. Sharing a single instance of a data member or function among all instances of a class is required in a Visual Basic application with inheritance. A shared data member is one that all instances of a class share. A shared data member exists independently of any particular instance of the class. A shared method is a method, which unlike normal methods, is not implicitly passed an instance of the class. For this reason no unqualified references to non-shared data members is allowed in a shared method. Public shared members can be accessed remotely and they can be late-bound from an instance of the class.

Comments

  • Object Oriented feature in VB

    Posted by ghanshyam on 12 Nov 2002

    The Object Oriented feature like Inheritance,Polymorphism,Encapsulation in Visual Basic is really a great achievement.Offcourse making a VB program as Multithreaded and allowing STructured exception h...

  • VB History

    Posted by jamsmith on 01 Aug 2002

    I am not sure if you have your whole VB history down. I learned VB from a Version 2.0 Demo. Also, did you also know there was Visual Basic for DOS?