Section 9.12. Object Browser


9.12. Object Browser

Now we present a feature that Visual Studio provides to facilitate the design of object-oriented applicationsthe Object Browser. The Object Browser lists all the libraries that are available to the application, including the Framework Class Library (FCL) classes and programmer-defined classes. Developers use the Object Browser to learn about the functionality provided by specific classes. To open the Object Browser, right click any Visual Basic class or method in the code editor and select Go To Definition (Figs. 9.149.15). Figure 9.16 shows the Object Browser after the user selects class Random in Fig. 9.14. Figure 9.17 shows the Object Browser after the user selects method Next of class Random in Fig. 9.15. The Object Browser lists all non-Private members provided by class Random in the upper-right portion of the window, which offers developers instant access to information regarding the services of the selected class. You can also view the details of method Next by clicking the method name in the upper-right portion of the windows in Figure 9.16.

Figure 9.14. Invoking the Object Browser by right clicking class Random and selecting Go To Definition.


Figure 9.15. Invoking the Object Browser by right clicking method Next and selecting Go To Definition.


Figure 9.16. Object Browser when user selects class Random from the code editor.


Figure 9.17. Object Browser when user selects class Random's Next method from the code editor.




Visual BasicR 2005 for Programmers. DeitelR Developer Series
Visual Basic 2005 for Programmers (2nd Edition)
ISBN: 013225140X
EAN: 2147483647
Year: 2004
Pages: 435

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net