《Using Visual Basic documentation》 【本字幕由ACELY 整理&转码】 Whenever you learn a programming language you're going to need to know how to get
to the documentation for the language. I won't be able to tell you all of the
details of Visual Basic in this course and so you'll always need to be able to
get to more information. Here's some tips about navigating the
documentation and help resources that are available with Visual Studio.
By default, your help resources are online, and so to get to them while
you're doing your development work, you'll need an Internet connection.
To get to the primary help resources, go to the menu and chose Help, View Help.
That will open a browser and take you to the documentation for Visual Studio 2012.
If you're looking for language documentation, click on Visual Basic and
Visual C#, and then from there, on Visual Basic.
From here, you can find conceptual information, and the complete API
reference for Visual Basic, and for the .NET or WinRT libraries.
You can also get the context sensitive help for particular language elements.
For example let's say that you wanted to learn about the class statement.
This is how you define a software class in Visual Basic.
To get to the documentation for this keyword, double click on the keyword to
select it. Then press F1.
That will open the documentation online, and you can read the conceptual
information and take a look at the structure of the command and sometimes
some sample code. Here's another example.
Let's say you wanted to learn about the dim statement, the keyword that declares
a variable. I'll double click and press f1 again.
And that takes me to the documentation for dim.
You can also use context sensitive help with zamil.
I'll go to my zamil file in my code runner application, and I'll double click
on the label element, and press F1. And that takes me to all the information
I need about the Label class. If you prefer, you can download
documentation and use it locally. To do this, go to the menu and choose
Help > Add and Remove Help Content. That opens an application called Help Viewer.
From here, you can select one or more documents that you want to download and
use locally. I'll click the add link for visual basic
and visual c sharp and I see a status of add pending.
Now, to actually download that documentation, I'll click the update button.
If you see a user account control dialogue box at this point, click yes.
It won't always show up. But once you've gotten to this point,
you'll be downloading the documentation that you selected.
It'll be merged into your local documentation.
And it'll be ready to use. Then to change the way visual studio
behaves when you ask for help, go to the menu and choose help, set help
preference, launch in health viewer. Now to test that, I'll go back to my vb window.
I'll once again double click to select the dim keyword, and I'll press F1.
And now the local documentation opens in help view.
So if you're going on a trip, you're not going to have an internet connection, but
you still want to keep on programming, prepare ahead of time.
Download the documentation that you'll need, change your options, and you'll be
able to get to all the information you need when you need it.
【本字幕由 CGSUB.COM 独家制作发布】 -----欢迎加入群号：214645753----- For the purpose of this course, I'll be using the online help, but both of these
documentation sets have the same information and can help you as you learn
Visual Basic.